cms to display dates - looking for suggestions
Posted: Tue Apr 12, 2005 12:58 pm
sorry but i put this in the wrong section eariler - think it's more suited to this section, so moved:
i am trying to create a small cms that will allow the user to display the following information on a webpage:
COLUMN 1-----COLUMN 2
month1
out date-----return date
out date-----return date
month2
out date-----return date
out date-----return date
...and so on for many months. so the user will pick a month, an outward date and return date.
the way if see it, i can create a drop down list for the user to pick a month (which will be added to the database as 'month'), to pick out and return dates (added as 'outdate' and 'returndate'). i can see how to display this information on a page. but i can't see a way to for the user to do this many times without creating loads of tables / fields in the database (maybe this is the only way?)
i am at a loss as to how this can be achieved and relatively new to php. it would be really helpful if anybody has done something similar or could give me a hint as to how this could work.
many thanks
i am trying to create a small cms that will allow the user to display the following information on a webpage:
COLUMN 1-----COLUMN 2
month1
out date-----return date
out date-----return date
month2
out date-----return date
out date-----return date
...and so on for many months. so the user will pick a month, an outward date and return date.
the way if see it, i can create a drop down list for the user to pick a month (which will be added to the database as 'month'), to pick out and return dates (added as 'outdate' and 'returndate'). i can see how to display this information on a page. but i can't see a way to for the user to do this many times without creating loads of tables / fields in the database (maybe this is the only way?)
i am at a loss as to how this can be achieved and relatively new to php. it would be really helpful if anybody has done something similar or could give me a hint as to how this could work.
many thanks