I entered this in my code:
<?php
require_once "admin/lib/viewer_functions.php";
list($projectsRecords, $projectsMetaData) = getRecords(array(
'tableName' => 'projects',
'where' => "project_manager = {$accountid}",
));
?>
I Get this error:
Notice: Undefined variable: accountid in /hermes/bosweb/web255/b2559/ipw.s2smedia/frontdesk/myprojects.php on line 17 getRecords(projects) MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY dragSortOrder, project_status DESC' at line 2