Re: Not sure of my error
| From: | Don Read | Date: | Sat, 18 Nov 2000 18:05:29 +0000 |
| Subject: | Re: Not sure of my error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26069@lists.php.net to get a copy of this message | ||
On 18-Nov-00 jeremy brand wrote:
> Hi Jerry,
>
>> if ($state == "");
>
> Take the semi-colon off the if statement.
>
> it should read:
> if ($state == "")
>
>:)
> -jeremy brand
>
<random snips>
>
> On Fri, 17 Nov 2000, Jerry Lake wrote:
>
>> <?
>> if ($state == "");
>> {
Yet another reason to cuddle your braces (besides looking right).
<asbestos skivvies="ON">
Regards,
--
Don Read dread@texas.net
-- The problem with people who have no vices is that you can be
sure they're going to have some pretty annoying virtues.