All is working. Thank you for your excellent support. Free support is great but Premium is even better; hard to believe but true.
One thing I forgot to ask is how do you amend the line below so that it binds to a set variable, for example $category. I will need to know this for when customers are searching for products.
$rs_products->bindParam("c", "".(isset($_GET['categories'])?$_GET['categories']:"") ."", "-1"); //colname