Re: Comparing string to array

From: Date: Tue, 19 Jun 2007 17:56:20 +0000
Subject: Re: Comparing string to array
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-257445@lists.php.net to get a copy of this message
Jim Lucas wrote:
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?
Seriously, read the rest of the damn thread before trying again. As an example of how far off you are... $username has never appeared in this thread until you just said it. -Stut -- http://stut.net/

« previous php.general (#257445) next »