"Miles Thompson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Yes, I'm top posting, pls forgive.
>
> This is a situation where an editor which has built-in brace matching
> really helps - if in the midst of "looking" one remembers to use it.
>
> Another tip, although it probably wouldn't help here: Save the code with a
> .phps extension and look at it in the browser.
I always indent statements like this :
if (this) {
do_this();
if (that) {
do_that();
}
}
It helps me 'see' the code and also it's easier to track missing braces. I
know people have their own coding style - I just find it easy for me.
--
Ivo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php