Re: Correct Coding
| From: | Robert Cummings | Date: | Thu, 07 Aug 2003 17:17:24 +0000 |
| Subject: | Re: Correct Coding | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158688@lists.php.net to get a copy of this message | ||
Looks good.
Cheers,
Rob.
On Thu, 2003-08-07 at 13:09, Christopher J. Crane wrote:
> Is this the best way to do this?
>
> if(isset($Task) && $Task == "Add") { Do something }
>
> I want to check if the variable is set and if so, if it is "Add".
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
.---------------------------------------------.
| Worlds of Carnage - http://www.wocmud.org |
:---------------------------------------------:
| Come visit a world of myth and legend where |
| fantastical creatures come to life and the |
| stuff of nightmares grasp for your soul. |
`---------------------------------------------'