Re: How do I stop foreach if $menu not set??
| From: | Stuart Dallas | Date: | Tue, 11 Jun 2002 22:08:19 +0000 |
| Subject: | Re: How do I stop foreach if $menu not set?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101629@lists.php.net to get a copy of this message | ||
On Tuesday, June 11, 2002 at 10:59:13 PM, you wrote:
> I Have worked out this, but when $menu is not set it does the foreach
> function anyway, and desplays an error.
> What Can I do to stop the foreach function from working if $menu is not
> set??
http://www.php.net/isset
--
Stuart