View Single Post
05-06-2009, 01:15 PM
Join Date: Sep 2007
Originally Posted by
You can try to do things short handed, so if you have a quick conditional, you don't have to use brackets like so:
That's 2 brackets you have to worry about. But you can just do this:
if($a) echo "hello";
While it may seem like wisdom at the time to this, it is bad practice and can lead to bugs more easily.
Always indent your code, without indents code is half impossible to read. That should take care of half your problems right there.
View Public Profile
Send a private message to Village Idiot
Find More Posts by Village Idiot