thanks for your quick reply !
you were right, but can i ask about this function ?
in general, what are the dangerous chars which we should prevent to be inserted into the database ?
what does this function do ? which characters this function filters ?
and at last, you mean, if we have such string in our database, is it OK :
" this i a ' test "
another thing, how i can see if the function is working or not ?
plz give me a string which changes after using mysql_real_escape_string and inserted into db...
i mean this should affect on strings which we insert into db, but when i use this function on this string : " this i a ' test ", the inserted string is all the same, so what's the point ?
sorry for being noob