Re: Comparing string to array

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

 



Richard Davey wrote:
Hi Jim,

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

Jim Lucas wrote:
        $userparam = "test['sam'][]";

then what you are saying it that this HAS to be your search string?

Heck no, it doesn't *have* to be. Feel free to remove the quotes from
it and then attempt my original question again. It's still not as
simple as an isset() or count() call.

(but boy I wish it was!)

Cheers,

Rich
let me try this again.

in the submitted $_POST array, you are looking for a key (test) that contains a given $username
that may or may not have any values set?

Correct?

--
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

--
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