Je moet ingelogd zijn om te stemmen.
$cat = "1"; $sql = "SELECT * FROM prod WHERE cat = $cat*";
$cat = "1";$sql = "SELECT * FROM prod WHERE cat = $cat*";
$cat = "1"; $sql = "SELECT * FROM prod WHERE cat = $cat."*".";
$cat = "1";$sql = "SELECT * FROM prod WHERE cat = $cat."*".";
'SELECT * FROM prod WHERE cat LIKE '". $cat ."%'