Click here to Skip to main content
15,905,427 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to get the dates of the given month & year in php.
I also create a html form for enter month & year.

<form action='srccalender.php' method='post>
<input type='text' name='month'/>
<input type='text' name='year'/>
<input type='submit' name='submit value='submit'/>
</form>


Here this form get the month & year values & passed to php code part.
In php part I want to display corresponding dates of the give month & year
Plz somebody help me. :sigh:
Posted
Updated 4-Feb-11 19:04pm
v2

1 solution

I'm guessing that you want to show a calendar for the selected month and year, if this is the case I would suggest you use an existing implementation such as;

http://keithdevens.com/software/php_calendar[^]
http://www.php-calendar.com/[^]
http://www.easyphpcalendar.com/[^]

If you end up using one of the above implementations and have a further question it would be best to ask on the web site of the implementation you end up using.

To find other implementations click here.[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900