What you want to do is execute the query, and put 'even' records into one array, then 'odd' records into the other array. Finish the mysql stuph.
Then do the HTML output with the 'odd' array then again with the 'even' array, or vice versa, trip on this:
$oddArr=array();
$eveArr=array();
$flag=1;
while($row=mysql_fetch_array(your_query)){
if ($flag==1) {
$oddArr[]=$row['fieldhere'];
$flag=1;
} else {
$eveArr[]=$row['fieldhere'];
$flag=0;
} /end-if-else/
} /endWhile*/
NOW THE HTML
--table---
foreach($oddArr as $shazam) {
print("<td>each $shazam in the odd array</td>");
}
--/table--
--table---
foreach($eveArr as $waboo) {
print("<td>each $waboo in the even array</td>");
}
--/table--
arrays, d00d, good luck