Re: Replace of ' in a query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux