View Single Post

  #10 (permalink)  
Old 09-08-2007
Ian Hobson
 
Posts: n/a
Default Re: Just Learning PHP

Kenoli wrote:

>
> I have never been able to derive a consistent rule for either of these
> two constructs.
>
> Does anyone know the rules here for when one or the other is required
> or not allowed?
>


Hi Kenoli,

It is explained very well in the manual - with examples.

The key part about curly braces is here.

http://www.php.net/manual/en/languag...arsing.complex

Regards

Ian
Reply With Quote