Jump to content

real escape string error


ohdang888

Recommended Posts

i am getting this error, several times from practically every line that has the escape string in it.

 

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\xampp\htdocs\contact\adfeedback.php on line 21

 

and this is line 21

$location = mysql_real_escape_string($_POST['location']);

Link to comment
https://forums.phpfreaks.com/topic/94845-real-escape-string-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.