|
Posted by Jerry Stuckle on 06/04/07 11:31
Sheik Ishmael wrote:
> Thanks Jerry
>
> I'm working from template code downloaded from
> http://authors.phptr.com/essential/php/chapter8.html
>
> Is this code now out of date? Or just wrong?
>
> Eager to know as I'm using this book to learn from.
>
> best
> --Sheik Ishmael
>
>> if statements do not have semicolons at the end of the conditional
>> clause. And btw, else doesn't have a colon, either.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================- Hide quoted text -
>>
>> - Show quoted text -
>
>
I guess those are colons, not semicolons. It was hard to tell here.
And no, that code is not out of date. AFAIK it was never correct in any
version of PHP.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|