PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi,
I am writing an application using PHP and MySQL. I need to enter a varchar field into the db which has this value
"3/4" Drive pneumatic impact drivers CC# 5200552", i.e. 3/4 has " next to it, and because of this it is throwing an error. Can anyone sugget me how to work on this.
but use mysql_real_escape_string(), if you want to know more search the security forum, there is a example of why you should use that instead of addslashes()
edit: twice i have been beaten today! ill get you guys yet!