Re[2]: Comparing string to array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jim,

Tuesday, June 19, 2007, 5:29:55 PM, you wrote:

> 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
> in this case, it isn't a valid char.

> Look at his output, you will see that the single quotes are being included in the actual value of
> the submitted array.

Read the rest of the thread, specifically the code given by Stut, the
single quote makes bugger-all difference to the comparison I'm afraid,
the problem at hand is much deeper than that.

> Look at the output a little closer...

No need, it's *my* output, and I've been looking at it very closely
for hours now, and believe me quotes aren't the issue (if only it was
that simple a solution)

Cheers,

Rich
-- 
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux