PLEASE help with search-query.
Posted: Wed Aug 11, 2004 5:22 pm
Hello,
can somebody say why this litlle script isn't working.
Thanx
can somebody say why this litlle script isn't working.
Code: Select all
if(isset($_POSTї'land'])){
if($_POSTї'land'] == "3"){
$sql .= " AND land = '%'";
} else {
$sql .= " AND land ='".$_POSTї'land']."'"; }}
if (!empty($_POSTї"genre"])){
if($_POSTї'genre'] == ""){
} else {
$sql .= " AND band_subgenre ='".$_POSTї'genre']."' OR band_hoofdgenre = '".$_POSTї'genre']."'"; }}
$allevents = mysql_query($sql);