Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
04-06-2009, 10:00 PM #1
- Join Date
- Apr 2009
- Thanked 0 Times in 0 Posts
Include dynamic variable in a URL
First off, I apologize in advance for being a total newb.
Using the PHP calendar from http://keithdevens.com/software/php_calendar , I want to include the $month variable in the day links. For example, right now I'm using:
$days = array(
echo generate_calendar(2009, 4, $days, 5, '/tag/april');
to link day 1 on the calendar to website.com/tag/april+1
What I want, though, is for the "april" in the URL to update along with the calendar. So, I want to include $month somehow to display the current month. Does anyone know how to do this?
Thanks for any info.