Trying to create a "sign up form"....help please
View Single Post
06-02-2005, 12:12 AM
Join Date: May 2005
YES, you should use that function to ALL inputs made by user, which you are going to store in database.
in new version the new function is
mysql_real_escape_string() which is recommended to use, but, you have to make sure if it exists in your version or not
or you can do this
$var = (function_exists('mysql_real_escape_string'))?mysq l_real_escape_string($user_info):mysql_escape_stri ng($user_info);
its jsut saying if that function exists then use that else use other one
ABOUT THE ERROR
please specify the line number where error occured
Errors = Improved Programming.
View Public Profile
Send a private message to jaswinder_rana
Visit jaswinder_rana's homepage!
Find More Posts by jaswinder_rana