View Single Post
Old 06-09-2006, 09:32 PM  
nadanada
Confirmed User
 
Join Date: Apr 2004
Location: hiya
Posts: 330
php include help (with date function)?

I'm rusty with php, so I don't even know if this can be done. is there a way to use the date function in the page url for the include?

I know you can replace words with the date function to retrieve a file, example:

<img src="<? echo(date('M'))?>.jpg" />

so is it possible to do something like:

<?php include "<? echo(date('M'))?>.php"; ?>

thanks!
__________________
nadanada is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook