07.10.2016, 05:12
Mysql has a function that is called NOW and prints the current time the query gets implemented.
EDIT: for example at my bug report command here, i am using this function as you can see. You can get an idea of how to save date.
EDIT: for example at my bug report command here, i am using this function as you can see. You can get an idea of how to save date.
PHP код:
mysql_format(mysql, query, sizeof(query),"INSERT INTO `bugs` (`BugReporter`,`BugInfo`,`Date`) VALUES ('%s','%s', NOW())",BugReporter,BugInfo);