Re: Comparing string to array

From: Date: Tue, 19 Jun 2007 16:31:03 +0000
Subject: Re: Comparing string to array
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-257424@lists.php.net to get a copy of this message
Richard Davey wrote:
Hi Jim, Tuesday, June 19, 2007, 5:06:47 PM, you wrote:
DON'T USE SINGLE QUOTES IN YOUR NAME="" ATTRIBUTE
Hate to piss on your bonfire but a single quote is a perfectly valid (if somewhat stupid choice of) character for inclusion in an array key. Cheers, Rich
if you use var_dump() instead of print_r() you will see what I am talking about. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare

« previous php.general (#257424) next »