I'm pretty sure this should be a no brainer, but despite that I still can't seem to get this right.
I want to print out a table that has a vertical layout instead of a horizontal one.
Instead of it running across, I want it to run from top to bottom.
This is the layout I am using but I just can't seem to make it work. I'm sure it's just something really stupid I am doing. I'm a newbie so go easy on me. Thanks to anyone that can help.
print "<table border=\"0\" cellspacing=\"1\"cellpadding=\"4\"><tr>\n"
"<th><b>MEMBER</b></th>\n"
"<th><b>SEX</b></th>\n"
"<th><b>STATE</b></th>\n"
"<th><b>RELIGION</b></th>\n"
"<th><b>AGE</b></th>\n";
</table>
print "
<table>
<td>".$result['username']."</td>\n"
<td>".$result['sex']."</td>\n"
<td>".$result['state']."</td>\n"
<td>".$result['religion']."</td>\n"
<td>".$result['age']."</td>\n";