
February 2nd, 2000, 10:15 PM
|
|
Registered User
|
|
Join Date: Nov 1999
Posts: 9
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
I have a problem with date.
I cannot insert a date as a value on a table.
ie. table has 2 col: ID(int), Date(Date)
in PHP:
$mydate=(date("y-M-d h:i"));
INSERT INTO Table (ID, Date) VALUES ('$ID', '$mydate')";
why wouldn't this work?
|