Ik wil het verschil uitrekenen tussen een vastgestelde begintijd en de huidige tijd. Ik heb al geprobeerd een query te maken, maar dat zit nog niet helemaal goed. iemand weet hoe dit goed moet?
Nog even wat info: Deze query staat in een whilelus, die gewoon werkt. De warnings zijn alsvolgt:
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/ralphjenl/domains/ralphje.nl/public_html/home/2-gebroeders/POH/verzamelen.php on line 80
Notice: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '('2006-08-28 13:59:22', CURTIME()) AS verschil' at line 1 in /home/ralphjenl/domains/ralphje.nl/public_html/home/2-gebroeders/POH/verzamelen.php on line 80
Notice: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '(2006-08-28 13:59:22, CURTIME()) AS verschil' at line 1 in /home/ralphjenl/domains/ralphje.nl/public_html/home/2-gebroeders/POH/verzamelen.php on line 80
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/ralphjenl/domains/ralphje.nl/public_html/home/2-gebroeders/POH/verzamelen.php on line 81