Jump to content
Larry Ullman's Book Forums

Mysqli_Real_Escape_String Problem


hakouka
 Share

Recommended Posts

hello larry !

 

i learn your book 4,

in ensuring Secure SQL chapter i write like your example but the mysqli_real_escape_string is not working i do everything like you connecto to database with require ('include/mysqli_connect.php'); // Connect to theand i input name like kali' and i input like fister"-* . but i find him in localhost like this name and i print him in view user i find him like i write .

 
Link to comment
Share on other sites

No, sorry, I did not ask a yes/no question. My question is: what evidence do you have that it's not working? For example, if it wasn't working, when you provided a value like 

'; drop tables

the resulting query would break.

Link to comment
Share on other sites

 Share

×
×
  • Create New...