Hi there Guys,
Im stuck on something very basic and actually feel quite embarrassed...lol
I need some help in what im doing wrong here.
Basically what im trying to do is say that if the time is between 07:00:00 and 18:59:59 then Hold the term Days as a variable, otherwise hold the term Nights.
Can Someone Please help me out
Thanks.... 100NP's To The First Person that Helps me

Im stuck on something very basic and actually feel quite embarrassed...lol
I need some help in what im doing wrong here.
<?php
$hour = $_GET['hours'];
$min = $_GET['mins'];
$sec = $_GET['secs'];
$time = '$hour:$min:$sec';
if($time >= 07:00:00 && <= 18:59:59){
$shift = Days;
}
else {
$shift = Nights;
}
?>
Basically what im trying to do is say that if the time is between 07:00:00 and 18:59:59 then Hold the term Days as a variable, otherwise hold the term Nights.
Can Someone Please help me out
Thanks.... 100NP's To The First Person that Helps me




