hi all,
i have two dropdown boxes in which i have to insert dates in first boxes from 1-31 and in second box i have numbers from 1-15. when i click on date1 and select 3 in second box
i should get 3 rows from date 1-3
and i have a doubt if its feb then we should get only 28 numbers i tried but didn`t get it,
any ideas:idea:
thank u in advance
praveen_dusari
11
Posting Whiz in Training
Recommended Answers
Jump to PostI do believe this has all the pieces you are looking for ... dates are a bit tricky to work with.
<?php // PART ONE // creating a drop down with only the days in this month $today = new DateTime(); $days = $today->format('t'); print "<select name=\"days\">\n"; …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.