Hello;
I am trying to get my dropdown nav boxes to work correctly. I cannot get this query to work. I am trying to get it to select the category based upon the sku and inventory tables actually having a valid quantity greater than 0. Any thoughts on why this is not working?
Shawn
$Query = "SELECT c.ID, c.Name, c.Parent, i.SKU, i.Available, s.ID ";
$Query .= "FROM category c, inventory i, sku s ";
$Query .= "WHERE c.Parent=$root";
$Query .= "AND i.SKU = s.ID";
$Query .= "AND i.Available > 0";