Hi all,
how do i compare one date with a list of array which consist of date?
$date = 1990-12-3
$viewSchedule = "select * from schedule where id_user = '$idHairstlylist'";
$scheduleResult = mysqli_query($dbConn,$viewSchedule) or die(mysqli_error($dbConn));
while ($row1 = mysqli_fetch_array($scheduleResult)){
for($j=1;$j<=4;$j++){
$day[$j] = $row1['od_week'.$j];
if ($day[$j]!= $date){
echo 'hi';
}
}
issit possible?