So, if I wanted to have this function to also check the time in the database...that would be something like this? :
$count = $db->query("SELECT day FROM users WHERE day = ? AND time = ?",array($day).($time))->count();
That would make it more dynamic right? So I could have yoga at 10:00 and dodgeball at 15:00 on a Friday.
$count = $db->query("SELECT day FROM users WHERE day = ? AND time = ?",array($day).($time))->count();
That would make it more dynamic right? So I could have yoga at 10:00 and dodgeball at 15:00 on a Friday.