[PHP] Check time in between times

2008-02-16 Thread Johny Burns
I am having fields in my table where I put times like 4:30pm in string 
format

Can  anybody help with function which helps detect.
Is it the current time between those fields?

function checkinzone($time1,$time2):boolean

Has to verify does the current time is in those 2 variables.

Thank you for your help. My ability with time and date funtions in PHP are 
not that great

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] String Issue

2008-01-23 Thread Johny Burns
I have the following string on the address line

HTMLFiles/MenuDisplay.php?var=Thai%20ImageItem=1797Action=add

I am trying to delete or replace the 'Item=1797Action=add' (it is at the 
end of the string)

I am not familiar as much with those string functions, and if somebody can 
give me some suggestions. I will appreciated it.

Thank you in advance. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php