06-02-2005, 12:12 AM
|
#4 (permalink)
|
|
The Acquainted
Join Date: May 2005
Posts: 106
Thanks: 0
|
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.
Portfolio
|
|
|