Indent your code properly and the mistake should become obvious
In particular, each else block should be indented at the same level as its corresponding if block.
Thread profile page for "T_ELSE Error - Blind to where i'm going wrong" on http://www.phpbuilder.com.
This report page is a snippet summary view from a single thread "T_ELSE Error - Blind to where i'm going wrong", located on the Message Board at http://www.phpbuilder.com.
This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity
| |||||||||||||||||||||||