I am newbe at php programming and there I politly ask for little patience. I have following two lines of code:
- Code: Select all
$query_products_id_numbers=mysql_query("SELECT id_product FROM ps_category_product WHERE id_category IN ($subcategories_ids)");
What could be wrong? I use similiar statements in other scripts and they work fine!!"Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in <b>getProducts.php on line 46"