WANTED: PHP and MySQL geeks.

Jun 15, 2004 17:44

It's that time again where I ask you fellow computer geeks to help me out with a bit of a dilemma. Here's what I got ( Read more... )

Leave a comment

Comments 3

deusinnomen June 15 2004, 15:56:17 UTC
When writing to the database, use the addslashes() command (http://www.php.net/manual/en/function.addslashes.php), and then use the stripslashes() command (http://www.php.net/manual/en/function.stripslashes.php) when reading from the database.

Reply

angelwick June 15 2004, 19:52:01 UTC
tried this, still not working. The flow of the program goes like this ( ... )

Reply

angelwick June 16 2004, 11:56:41 UTC
figured it out!

on pages where slashes were showing up, I stripslashes-ed.
The pulldown menu options were turned into htmlentities.
variables passed in hidden inputs were turned into htmlenities.

never needed addslashes. But thanks dude for giving me a starting point.

Reply


Leave a comment

Up