Someone mentioned that the way I have this setup can bhe slow. What I use to improve it?
$result2=mysql_query("SELECT * FROM Products LEFT JOIN Hold ON Products.ID = Hold.HoldID WHERE Hold.HoldID IS NULL AND ProdCat=\"$CatSelect\" ORDER BY Products.ID LIMIT $offset,$resultlimit");
$num2=mysql_num_rows($result2);
$i=0;
while ($i < $num2) {
$ProdCat=mysql_result($result2,$i,"ProdCat");
$SubCat=mysql_result($result2,$i,"SubCat");
$ProdName=mysql_result($result2,$i,"ProdName");
++i}