Hello,
I am experiencing difficulties in inserting a DATE into a mysql table, using PHP.
I have created a table with a 'date' variable in it, but can't seem to be able to insert into it.
I am currently trying using the command:
$query= mysql_query("insert into table (datevalue) values ('20010112');");
What should it be?
thanks,
jim
I am experiencing difficulties in inserting a DATE into a mysql table, using PHP.
I have created a table with a 'date' variable in it, but can't seem to be able to insert into it.
I am currently trying using the command:
$query= mysql_query("insert into table (datevalue) values ('20010112');");
What should it be?
thanks,
jim