Re: [PHP-WIN] Passing array to function

2002-08-13 Thread Scott Carr
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

RE: [PHP-WIN] passing array with form

2001-07-27 Thread afan
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

Re: [PHP-WIN] passing array

2001-03-30 Thread Yasuo Ohgaki
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