List upcoming events only

24 posts by 7 authors in: Forums > CMS Builder
Last Post: February 24, 2015   (RSS)

By proba - February 24, 2015 - edited: February 24, 2015

Look at the screenshot from my text editor.

Attachments:

error.jpg 346K

By Damon - February 24, 2015 - edited: February 24, 2015

Can you copy and paste the full page of actual code from your text editor into a reply forum post so we can have the actual code to work with?

This will also make it easier to reply with the correct code.

Thanks!

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By claire - February 24, 2015

Sorry, please refer to this line - slight mistake on my part:

<?php
  require_once "........./lib/viewer_functions.php";

  list($afishRecords, $afishMetaData) = getRecords(array(
    'tableName'   => 'afish',
    'where' => 'date <= "'.date('Y-m-d H:i:s', time()+(60*60*24*7)).'" AND date >= "'.date('Y-m-d H:i:s', time()).'"',
  ));

?>

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/