bobby317 Posted June 16, 2010 Share Posted June 16, 2010 This is my query: $query = "INSERT INTO events (eventID, date, startTime, endTime, eventName, description) VALUES (0, 'FROM_UNIXTIME($date)', '$fStartTime', '$fEndTime', '$eventName', '$description')"; I am trying to use FROM_UNIXTIME() function to convert the dates back and forth but all examples use it when updating the table and I am inserting the info into the table. Thanks for all the help Link to comment https://forums.phpfreaks.com/topic/204983-mysql-query-statement-using-from_unixtime-with-an-insert-query/ Share on other sites More sharing options...
AdRock Posted June 16, 2010 Share Posted June 16, 2010 Don't understand what the question is Link to comment https://forums.phpfreaks.com/topic/204983-mysql-query-statement-using-from_unixtime-with-an-insert-query/#findComment-1073151 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.