nope, never done anything like that in school, that i can remember anyways. lol. I still get no output from your code though when i apply a query to it. like this:
$sql = "SELECT * FROM `menswear";
$query = mysql_query($sql) or die(mysql_error());
$count = 0;
while($row = mysql_fetch_array($query))
{
if($count % 3 == 0)
$output .= "<tr>";
$output .= "<td>".$row['data1']."</td>\n<td>".$row['data2']."</td>";
if(fmod($count,3) == 0)
$output .= "</tr>";
$count++;
}
would really appreciate a few pointers, thanks.