hi
I am having problem writing the code to set the time( it's in second ) in format like
(xx h' xx m' xx s)
Time is the field in the access db. It's not the real time(clock).
example
$cur= odbc_exec( $cnx, "select domain_name,user_name,full_name,time_spent from users"
);
echo "<table border=1><tr><th>Domen</th><th>User
name</th><th>Name</th><th>Time<th></tr>\n";
while( odbc_fetch_row( $cur ) )
{
$Index= odbc_result( $cur, 1 );
$user_name= odbc_result( $cur, 2 );
$full_name= odbc_result( $cur, 3 );
$time_spent= odbc_result( $cur, 4 );
$time= $time_spent/3600;
I need the $time to be integer and to take the remainder of and set it to be $time1