Helllo, I have a query that writes some data to a database
mysql_query ("INSERT INTO PVS (time_ended) VALUES (now())", $db_conx) or die (mysql_error()); mysql_query ("UPDATE PVS SET break = now() WHERE id = '$id'", $db_conx) or die (mysql_error());
I want to keep current time + 5 minutes instead of now () for time_ended and current time + 15 minutes instead of now () for break
Can someone show me a trick? Thanks!
source share