Need help for time recording code in PHP...

  • Answered
i don't know how to insert time into my really struggling here...can someone help me?
Hello warzhock, Are you having trouble with php in general or attempting something in the phpbb program? You need to ensure the column you are inserting data into is a DATETIME format. You then would insert your data in the query by formatting it as: 'YYYY-MM-DD HH:MM:SS' or 'YY-MM-DD HH:MM:SS'. You may want to take a look at the MySQL reference for Date Time literals for additional information. Kindest Regards, Scott M