require("mysql.class.php");
$mysql = new databaseConnection();
$mysql->connect();
?>
Product Search:
if (($ip != "") && ($status != "")) {
$erg=$mysql->query("select distinct * from products where ip=$ip and status='$status' order by sorder");
$anz=count($erg);
?>
Search result:
if ($anz <= 0) echo "Sorry, but no products found! "; ?>
}
?>
|