Re[2]: Comparing string to array

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

 



Hi Stut,

Tuesday, June 19, 2007, 1:16:54 PM, you wrote:

>> The problem is finding a way to expand the input name (which is a
>> string) into a format that $_POST can be searched for. Or do the
>> reverse, iterate through $_POST to find a match for the input name and
>> get that value.

> Try this overly commented snippet on for size...
> http://dev.stut.net/php/davey.php

Very nice, thank you. I was hoping there would be a way to do it
without resorting to eval(), but if even you can't figure out how, I'm
not going to waste any more time trying to either :)

I loved this part:

// The target - offensive American spelling!

:)

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