Re: [PHP] Inserting the date into MySQL via PHP

2001-05-23 Thread Mike Gifford
Hello Michael, You hit the nail on the head... Not sure how I missed that... In anycase, thank you. Mike [EMAIL PROTECTED] wrote: > please forgive me if your typo concerns only your posting, but you didn't close your >VALUES parenthesis. > Then, the order of the data in the second parenthes

Re: [PHP] Inserting the date into MySQL via PHP

2001-05-23 Thread mheumann
Hi, please forgive me if your typo concerns only your posting, but you didn't close your VALUES parenthesis. Then, the order of the data in the second parenthesis doesn't match that in the first one (which it has to). So the correct way to do it would be: $insert = mysql_query("insert into dbr

[PHP] Inserting the date into MySQL via PHP

2001-05-23 Thread Mike Gifford
Hello, This is a really simple (looking) problem, but I can't seem to find the solution in the documentation. I want to insert today's date into a MySQL Date field. My first attempt was to use the following: $insert = mysql_query("insert into dbrss (Feed, Title, URL, Abstract, Old) VALUES ('