Hi! i have problems one query.
$day_result has a value of 1 and 4
$sql3 = "Select * from Venue where idVenue != $day_result";
echo $sql3;
if i use for loop for the above it will give the result below
Select * from Venue where idVenue != 1
Select * from Venue where idVenue != 4
But this is the result i want to get:
Select * from Venue where idVenue != 1 and idVenue != 4
how can i do it?