|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
simple but need a bit of help
|
|
#2
|
|||
|
|||
|
RE: simple but need a bit of help
In what context are you using the condition? a littls background might be helpful
|
|
#3
|
|||
|
|||
|
RE: simple but need a bit of help
Yes that seems to do that! Actually what do you want to do?
|
|
#4
|
|||
|
|||
|
RE: simple but need a bit of help
$prv_begin_time / $prv_end_time are two numbers representing time in hours.
What I need it to do is look at $prv_begin_time and make sure that it is smaller than $prv_end_time. If it is keep moving down the script part otherwise just return back to the main page and say Opps I don't want someone selecting Begin time of 1 Am and end time of 12 Am it should be 12 am (0) and 1 am (1) |
|
#5
|
|||
|
|||
|
RE: simple but need a bit of help
The way your if statement is set up, you are seeing if the begin time is less than or equal to the ends time, if it is, return to the login page. try using >= (greater than or equal to)as the operator in the if statement.
|
|
#6
|
|||
|
|||
|
RE: simple but need a bit of help
Boy that is imbrassing. I try harder to think next time, before I post. Thanks for the help
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > simple but need a bit of help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|