-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
I'm going to be inserting data from a PHP form into a mysql field. The
data could contain special characters like < > ' " \ /, etc. How do I
handle that? just $data = addslashes(htmlspecialchars($data)); before
the insert query? because later on the data will be read back from the
mysql db and I don't want it to contain a special character that would
break the PHP script.
- [PHP] how to handle inserting special characters into a my... Adam Williams
- RE: [PHP] how to handle inserting special characters ... Jay Blanchard
- [PHP] Re: how to handle inserting special charac... Colin Guthrie
- RE: [PHP] how to handle inserting special characters ... Bastien Koert
- Re: [PHP] how to handle inserting special characters ... Richard Lynch
- Re: [PHP] how to handle inserting special charact... Adam Williams
- Re: [PHP] how to handle inserting special cha... Robert Cummings
- Re: [PHP] how to handle inserting special cha... Richard Lynch
- Re: [PHP] how to handle inserting special... Børge Holen
- Re: [PHP] how to handle inserting sp... Robert Erbaron