Jump to content

Recommended Posts

Hi All,

 

I'm new to PHP and felt that if anyone can help me out it would be someone of the PHPfreaks community.

 

I've used the "easyphpcalendar" in my site, www.imagenenation.ca and my client has requested that the "list mode" (white section of the homepage) only have one event listed at a time. This i can do.

 

The other part of their request is to have that one event be pulled from a list of events posted during that calendar month.

 

So I'm looking for a PHP string of code that will echo a random event to be posted to the single "list mode" area, from a group of postings for a day that may have up to six postings.

 

 

 

The code currently used for this "list mode" is;

 

<?php

$LIST=1;

$DF = "D - M d";

$noOld = 1;

$template="monthly_image.php";

$mo=9;

$listEvents=2; <--this i can set to 1 to only show one event

require ("calendar/calendar.php");

?>

 

Does this request make sense to you?

 

All help will be appreciated greatly,

 

Realredd

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.