Surround your variables with {} curly braces.
--
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/
Quoting Bill Hudspeth <[EMAIL PROTECTED]>:
> I am trying to write a function that builds a multiple-choice drop down
> list. As such, I need to specify an ar
I just did it:
$Name = serialize($Name);
$Name = ereg_replace("\"", "'", $Name);
After submitting:
$Name = eregi_replace("'", "\"", $Name);
$Name = stripslashes($Name);
$Name = unserialize($Name);
Ok, this works, but there is mush better way, I'm sure. Can somebody tell
me?
Afan Pasali
Use htmlspecialchars() instead of addslashes().
Different standard has different methods to escape special characters.
Read relevant document for that.
Regards,
--
Yasuo Ohgaki
""afan"" <[EMAIL PROTECTED]> wrote in message
002a01c0b957$b21b97e0$0e1f49d1@07dzh2k322">news:002a01c0b957$b21b97e0$0