hi
At first
excuse my bad english.
I got many error like this when posting a form data to be insered in database
Warning: mysql_real_escape_string() [Function.Mysql-Real-Escape-String]: Access denied for user 'vndv'@'localhost' (using password: NO) in /www/vndv.com/k/i/d/kidney/htdocs/includes/aplication_en.php on line 16
etc.... because this error was in line 17 , 18 , 19 , 20, 21
When i open my code and for example i had this code in line 16
$process = mysql_real_escape_string(htmlspecialchars($_POST['process'])); and i got an error
When i removed mysql_real like this
$process = htmlspecialchars($_POST['process']);
my code work fine, it connect to the base and insert information into avalable table.
So why mysql_real_escape does not work???????
I need it to protect my site from sql injection
So what s the solution please??????????????????????????????????
