PDA

View Full Version : would you guys hard code or flycode drop down menus


bazz
08-24-2004, 08:46 PM
Well not really the full question there but it should keep the mods happy :)

I am going to place a drop down menu in a perl file to output the time and date. to the html. I want to ensure that each time the page is loaded, the date is taken from the server and so the drop downs are: -

1. permanently updating (low maintenance),
2. ensuring that no old dates can be submitted through a form.

Would you guys hard code the select boxes in the html and use variables to input the dates or, would you think it would use less server resources to do the whole thing on the fly.

If on the fly, can you give me the perl snippet for the drop down box plz.

Thanks

Bazz