Re: Comparing string to array
| From: | Jim Lucas | Date: | Tue, 19 Jun 2007 17:21:25 +0000 |
| Subject: | Re: Comparing string to array | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257443@lists.php.net to get a copy of this message | ||
Richard Davey wrote:
Hi Jim, Tuesday, June 19, 2007, 5:47:29 PM, you wrote: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 ShakespeareJim 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.