Jump to content

syntax


fer0an

Recommended Posts

Characters such as ' or " will cause problems within your sql queries. You need to escape these characters. To prevent this you should pass all string values to mysql_real_escape_string before using them within your queries. Example

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

Link to comment
https://forums.phpfreaks.com/topic/237099-syntax/#findComment-1218631
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.