Karima Velasquez wrote:
uhmmm...

i'll give a try to mysql_real_escape_string(), which i understand
formats the data into a valid sql string (without any special
characters, like \ and ' ).

shoud i use an analog function when retriving the data? because if i
 "encode" the data, shouldn't i "decode" it?

The mysql_real_escape_string() function simply escapes special
characters. It will turn your single backslash into a double backslash,
which is interpreted as an actual backslash rather than a special character.

When you retrieve the data there is no need to decode it with any special function.

Jasper

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to