I not sure.
This is the code I am using to dispaly the data.
echo "<table>";
$rows = count($inv_array)-1;
$max = 1;
foreach($inv_array as $row)
{
$id = $row["id"];
$brand = $row["brand"];
$model = $row["model"];
$year = $row["year"];
$price = $row["price"];
$img = $row["img"];
$info = "more_info.php?id=".($row["id"]);
echo "<tr><td><img src = '$img' width = '55' height = '85'></td></tr>";
echo "<tr><td>$year $brand $model</td></tr>";
echo "<tr><td>$$price</td></tr>";
echo "<tr><td>"; do_html_url($info, "complete description"); echo "</td></tr>";
}
echo "</table>";
The problem is it displays everthing.
What I would like to do is display the first 4 items then the next 4 and so on without write a seperate query for each set of 4.