View Single Post
Old 11-14-2008, 02:37 PM   #4 (permalink)
Measter
The Wanderer
 
Join Date: Nov 2008
Location: Plymouth, UK
Posts: 9
Thanks: 0
Measter is on a distinguished road
Default

Actually I was already doing

PHP Code:
if (something)
  {
  do 
something
  

for the brackets, but realised through reading here that doing it that way is easier to read.
For the variable names, I started doing that after reading this forum, and reading some crit on other scripts about good variable names.

Awuehr, I completly forgot about the caption, thanks for reminding me, I've got it in and working now.
About the <th> element, according to the W3C page, the <th> element is only for the header, although it doesn't prevent validation if it's in the foot or body.
Still trying to get the second row of a header or footer working, having a little trouble outputting it.

*Edit* OK, found out why i was having trouble, I was outputting the footer cells in the header, and not the header cells. The footer cells were outputting correctly, I just hadn't added a second row. Yay for copy+paste...

Last edited by Measter : 11-14-2008 at 02:59 PM.
Measter is offline  
Reply With Quote