I have the following select statement:
$sql = "SELECT * FROM tblproducts";
The loop that writes the data to the page is:
while ($row = mysql_fetch_array($result))
{
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0">';
echo '<tr>';
echo '<td width="10%">'.$row['brand'].'</td>';
echo '<td width="10%">'.$row['model'].'</td>';
echo '<td width="10%">'.$row['type'].'</td>';
echo '</tr>';
echo '</table>';
}
All records are not being displayed. It will display 5 of 6 records and in no particular order (but in the same order everytime).
I am having this problem with ANOTHER query aswell. Any ideas?