Jump to content

mattblank

Members
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

mattblank's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi, I would like to display an external RSS feed on my website. That's easy enough. But there's an advanced version I've seen on Facebook which I would like to incorporate. That is that I can display for example the titles of the RSS Feed on my Facebook and each title links through to the article. But instead of going to the external websites article page, it goes to another page on Facebook and it displays the story. Any idea how this is done, as I would like to put that kind of thing on my website, so that stories look like they are on my site. Thanks in advance, Matt
  2. Thanks to you both! I will use the following code and name my files monday.php etc... through to sunday.php <?php $strDay = strtolower(date("l")); if (file_exists("includes/{$strDay}.php")) { include("includes/{$strDay}.php"); } ?> Many thanks, Matt
  3. ??? Sorry...I'm really no good at php :'(
  4. I'm simply putting this in (I'm don't know much about PHP) <?php Switch $day; { case Mon: include(includes/monday.php); break; case Tue: include(includes/tuesday.php); break; case Wed: include(includes/wednesday.php); break; case Thu: include(includes/thursday.php); break; case Fri: include(includes/firday.php); break; default: echo "No number between 1 and 5"; ?>
  5. Hi Adam, It says there's a problem with the line: Switch $day; Matt
  6. Thanks Adam! So if I was to place that code in my page with the PHP tags wrapped around it, it would work? Thanks! Matt
  7. Hi, I have a radio schedule and want to show what's on each day. If I was to create files called monday.php, tuesday.php, wednesday.php etc... how can I schedule it so the include file that is displayed on a page shows monday.php every Monday, saturday.php every Saturday etc... Many thanks in advance, Matt
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.