Botiga_php

Botiga php

Products

= $minProductPrice"; if ($maxProductPrice != "empty") $sqlString .= " AND bp_product_price <= $maxProductPrice"; echo $sqlString; $sql = $con->prepare($sqlString); // $sql->bind_param("ssidd", $productName, $productInfo, $productCategory, $minProductPrice, $maxProductPrice); } else { $sql = $con->prepare("SELECT bp_product_id, bp_product_name, bp_product_price, bp_product_img_01 FROM bp_products"); } $sql->execute(); $sql->bind_result($bp_product_id, $bp_product_name, $bp_product_price, $bp_product_img_01); while ($sql->fetch()) { echo (" "); } ?>