PDA

View Full Version : Next X Events


Steve Ollis
05-02-2005, 10:00 PM
Hi.

Please find attached a little hack of the `Last X Posts' by TRE@phase1media.com.

I needed to the be able to display upcoming events on a website I maintain, and couldn't find anything that did this.. so I coughed this little furball up.

Download it, and edit it to put in your database details. If you are using this, and your client base is primarily US Centric, search for "US Users" in the script. Then insert the following into your index.php file...
<?php
include ("next_x_events.php");
?>

An example of this in action can be seen at the VATPAC website (http://www.vatpac.org/)

Please let me know if you find this useful..

Thanks

Steve Ollis

Reeve of shinra
05-03-2005, 12:18 AM
Could you possible provide a screen shot or example of this in action? Thanks!

Lionel
05-03-2005, 01:02 AM
Cool. Thanks. You just saved me some work :-)

dkny
05-08-2005, 01:12 PM
great hack!
How would I add this to vbindex?

subnet_rx
07-04-2005, 05:57 PM
This hack doesn't seem to include the current day's events for some reason. I checked the source and it has >= $todaysdate, but the current day's events are missing.

htscpl
12-29-2005, 10:06 PM
Can't seem to get this to work on my site. I'm sure I'm missing something. When I put the include ("next_x_events.php"); in my index.php file it displays all my database info including password! can anyone help me with this as I am not very good at PHP.

Thanks

htscpl
01-04-2006, 08:22 PM
**bump**
ANYBODY ?