![]() |
![]() |
The preferred contribution method is via checking in subversion updates. Please contact me for svn access.
brackets:
GOOD: if (something) { // do something } BAD: if (something) { // do something }
line endings:
GOOD: ------------ <?php // your code here ... ------------ BAD: ------------ <?php // your code here ... ?> ------------
OTHER BAD THINGS: // not using brackets is bad! if (something) do_something() // this is so confusing, bad! $action = (empty($_POST['action'])) ? 'default' : $_POST['action']; // not using '' to surround array indexes throws a PHP notice, bad! $var = $array[index];