[PHP] PHP date returns wrong value ??

2005-01-16 Thread Michael Gale
Hello, I have a web page that loads php code from another file using include, the second file calls a function from a third file after doing a include on it. I am running php 4.3.7 Below is the snip of code that gets called to update the database. The problem is with the tentry_time value.

Re: [PHP] PHP date returns wrong value ??

2005-01-16 Thread Jason Wong
On Sunday 16 January 2005 15:22, Michael Gale wrote: Not a direct answer to your problem ... $query=INSERT INTO tentry_table SET ticket_id = ' . $ticket . ',; $query .= tentry_date = ' . date(Y-m-d) . ',; $query .= tentry_time = ' . date(H:j:s) . ',; 1) When doing something involving