f1avor_f1av
2006-11-27 22:05:19 UTC
Desired Output:
Display a calendar in a table that has corresponding a hrefs if that particular date has an entry. Left Arrow and Right arrow at the bottom so the user can scroll through the months.
Database Setup:
1st Field(Store Dates) - INT(field type) - ex. 060830201255 - yymmdd-hhmmss - set as primary key
----August 30, 2006 8:12:55 PM
2nd Field(Store Journal Entries) -Text(field type) - ex - This is my entry for today, hello world.
a) Do you suggest that i add a field (listID) INT(field type) and make it auto increment....... and make this the primary key instead?
b)For storing the dates, should i make it a string(as above) or just use php datestamp or timestamp.
All this boils down to SQL FETCH staements and whats easier/faster to pickup the date within a specific range.
Also, any ideas on the calendar design.
TY