Forum Moderators: coopster

Message Too Old, No Replies

Dynamic Days of Month select generator

is it possible without javascript?

         

neophyte

12:04 am on Jun 24, 2006 (gmt 0)

10+ Year Member



I've got three basic select lists: one for months, one for days, and one for years.

What my client wants is when you select a month from the month select, the "proper" number of days are generated in the day select list - choose February, the list generated is 1 through 28; choose June, it displays 1 through 30; October, 1 through 31 and so on.

Is there anyway to do this via PHP WITHOUT using Javascript and WITHOUT using some kind of button that would do a page refresh? The correct number of days would be dynamically generated via whatever option chosen in the month select list?

Neophyte

jatar_k

4:15 am on Jun 24, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



>> Is there anyway to do this via PHP WITHOUT using Javascript and WITHOUT using some kind of button that would do a page refresh

no