Re: If...Else question
| From: | Nick Winfield | Date: | Thu, 14 Mar 2002 15:59:51 +0000 |
| Subject: | Re: If...Else question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88529@lists.php.net to get a copy of this message | ||
On Thu, 14 Mar 2002, Brad Harriger wrote:
<!-- snip -->
> <?
>
> // Now back to the PHP code
>
> $d = 250;
> }
> else {
> $e = "Does not apply."
> }
>
> ?>
>
> I have some code similar to this example. When I run the code in my
> browser, I get a parse error on the last line (?>).
Replace:
$e = "Does not apply."
with:
$e = "Does not apply.";
Cheers,
Nick Winfield.