Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jun 2004
    Location
    Chicago, IL
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile 3 basic questions

    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

  • #2
    New to the CF scene
    Join Date
    Jun 2004
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    1-> http://www.php.net/date
    2-> i dont know, youd have to do some googling
    3-> i dont understand the question

  • #3
    New Coder
    Join Date
    May 2004
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

    PHP Code:
    include($_GET['whatever'].'_inc.php'); 
    This is how I normally do it
    "The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect."

    --Tim Berners-Lee, W3C Director and Inventor of the World Wide Web

  • #4
    Regular Coder
    Join Date
    Feb 2004
    Location
    Malaysia
    Posts
    175
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    i will go with LynxGrr...that's also how i do it too.....good luck
    Warm Regards,
    Mivec


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •