well the status comes as amount of posts, i have posted a lot when asking questions i can't answer myself from the manual pages. Same as everyone else here does.
Sorry that asking questions on a questions forum bothers you, i have been using php 6 months and am learning as i go. When possible i answer others questions.
The sec_to_time is a mysql function i've used to convert time previously :
"SELECT sec_to_time(time_to_sec(endtime) - time_to_sec(starttime)) AS total_time FROM timesheets WHERE groupname='$_SESSION[groupname]' AND username='$_SESSION[valid_user]' AND tid='$trow[tid]'";
You are not bothering me... That wasn't my point (and thanks I got the avatar or how it's called thing )
Concerning the sec_to_time($time[sec]), my question was more about the $time[sec] part... What's in there (I got the sec_to_time from the FM in the RTFM , I use postgres, not mysql; hence I looked up).
So what is in this var? don't tell me you put time() in there?
Anyhow, why don't you just put $time = date("H:i"); in it? and put the time formatted?
Or do I miss a point here?
Last edited by greenhorn666 on Thu Aug 21, 2003 6:44 am, edited 1 time in total.
fixed it now with date function, lol. Sorry for my rash posting here, we have to end coding friday to write a 15,000 word report so i'm rushing. Normally since i started becoming more familiar with things i only post when i'm really stuck.
The fact i'm stressed and rushing means i end up not thinking straight, sure you've been there before
We've had 2 months to do what was originally expected to take 8 months and it's my first attempt at a php site on the scale needed.
just got to sort the daylight saving time now, thought i was an hour closer to going home, lol