* Nathan Cowles
> $query2 = "SELECT SEC_TO_TIME(TIME_TO_SEC('$lastout') -
> TIME_TO_SEC('$firstin'))";
> $result2 = mysql_db_query($database, $query, $connection) or die
> ("Error in query: $query. " . mysql_error());
You are assigning the query to $query2, but you execute $query... ;)
--
Roger
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php