Hi Carlos,
you have to quote your string.
Either:
http://www.php.net/addslashes
or, if you use a database, i.e. MySQL, it would be better to use this:
http://www.php.net/mysql-escape-string
Cheers
Torsten
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
Hi , i have the following problem, i have a form where a user can input
any text, on that text may be a char is ' char(39) when i try to execute
the sql query, i have an error for that ', i need to replace it for the
html tag, for example " is " or by chr(39) i dont know, and then
execute the sql