List upcoming events only

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

By claire - February 24, 2015

What's the syntax error, please?

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

Claire Ryan
interactivetools.com

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

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

Look at the screenshot from my text editor.

Attachments:

error.jpg 346K

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/