Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13
  1. #11
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,980
    Member #
    5580
    Liked
    761 times
    Yes, but not sure what it is. Some WP CODEX where you would have to search on google.


  2.  

  3. #12
    Junior Member
    Join Date
    Oct 2012
    Posts
    8
    Member #
    33463
    Liked
    2 times
    Hi Mlseim,

    I saw one of your posts on another topic that you were helping a radio station display a certain image based on time of day. I tried to modify that code, but it kept giving me errors. Would something like this work?

    PHP Code:
    <?php

    // Get the day of week (Sun=0, Mon=1 ... Sat=6)
    $day=date("w");

    // If it's Mon-Fri, check the time
    if($day >= ){

      
    // Display your page here
      
    include 'http://www.google.com';

      }
    ?>
    Is there something I'm missing?

    Thanks for your help!

  4. #13
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,980
    Member #
    5580
    Liked
    761 times
    Are you looking for the complete Google Docs Spreadsheet method?
    If so let me know. Otherwise what you're doing will involve custom
    scripting for every schedule.



Page 2 of 2 FirstFirst 1 2

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:36 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2022 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com