Hello,
I am trying to send a PHP query to a mysql database, to create a new table containing a "date" field.
This is the comman I am supplying:
if (mysql_db_query ("test", "create table dates (startdate date, enddate date)")) echo "success";
But it doesnt seem to work.
Can anyone please identify why?
Cheers! Jim.
I am trying to send a PHP query to a mysql database, to create a new table containing a "date" field.
This is the comman I am supplying:
if (mysql_db_query ("test", "create table dates (startdate date, enddate date)")) echo "success";
But it doesnt seem to work.
Can anyone please identify why?
Cheers! Jim.