Re: Comparing string to array
| From: | Jim Lucas | Date: | Tue, 19 Jun 2007 18:07:45 +0000 |
| Subject: | Re: Comparing string to array | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257447@lists.php.net to get a copy of this message | ||
Stut wrote:
Jim Lucas wrote:-- 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 ShakespeareRichard Davey wrote: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 You're not getting my point. Never mind. Maybe the op understands better.Hi Jim, Tuesday, June 19, 2007, 5:47:29 PM, you wrote: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 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