Re: Re: Comparing string to array
| From: | Richard Davey | Date: | Tue, 19 Jun 2007 13:06:00 +0000 |
| Subject: | Re: Re: Comparing string to array | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257398@lists.php.net to get a copy of this message | ||
Hi Al,
Tuesday, June 19, 2007, 1:46:47 PM, you wrote:
> preg_grep() or
> foreach($_POST as $value){
> if(empty($value)) continue;
> $good_stuff[] = $value;
> }
A classic case of not reading the post fully methinks.
Cheers,
Rich
--
Zend Certified Engineer
http://www.corephp.co.uk
"Never trust a computer you can't throw out of a window"