...

View Full Version : 3 basic questions



shogun
06-06-2004, 01:41 PM
1> Let's say i want to put in my page>>>Today is June 4, 2004 and time<<<<Chicago would be i believe GMT -600

2> Is there any script to insert local wheather

3> I have the basic idea on how to include a header.php and footer.php, but i have seen some awesome sites that are able to slice up and entire site so as to generate the page --->ON THE FLY,,,,would i use the include() function?/

Thank You so much for taking the time to read my quetions :)

johnrau
06-06-2004, 03:09 PM
1-> http://www.php.net/date
2-> i dont know, youd have to do some googling
3-> i dont understand the question

LynxGrr
06-07-2004, 02:02 PM
Question three... im guessing you want to try and create one template page then use PHP to include the content based on the query string. If so then it's possible.


include($_GET['whatever'].'_inc.php');

This is how I normally do it

mivec
06-08-2004, 03:06 AM
i will go with LynxGrr...that's also how i do it too...:)..good luck



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum