View Single Post
11-21-2010, 11:50 AM   #5
hadi
Junior Member
 
Join Date: Sep 2010
Posts: 3
Rep Power: 0
hadi is getting browny points
Quote:
Originally Posted by Jeff View Post
They are both the same?
What I mean is the difference of function between intval() and mysql_real_escape_string(). Anyway quick search about intval() in google explain everything.

From what I learned mysql_real_escape_string() is good enough to sanitize ANY user input. I'm just worried that mysql_real_escape_string() function only works in certain condition.

Thanks
hadi is offline   Reply With Quote