";
echo "
Your search for ".$keywords." obtained the following results:
";
$row = $result;
$sql = "SELECT * FROM tblcart WHERE Category LIKE '%$keybords%' OR SubCat LIKE '%$keywords%' OR Name LIKE '%$keywords%' ORDER BY ProductID";
$result = $db->query($sql);
$output[] = '
';
while ($row = $result->fetch()) {
$output[] = '- '.$row['ProductID'].', '.$row['Category'].', '.$row['SubCat'].', '.$row['Name'].'
View This Item | Add To Cart ';
}
$output[] = '
';
echo join('',$output);
echo "
";
}
?>