error message
Hi
used the dataassist module to create the search sequence in the file boats_search.php using the search, results and details pages
I then created a sub directory ie htdocs\admin\ and re ran the da module to create an admin backend which included the delete, insert and update pages because the search criteria are different for the admin
The search, results and details pages work perfectly but when I go into the admin section and run the boats_search file I get the error below.
//save the query in a session variable if (1 == 1) { $_SESSION["WADbSearch1_admin_Results"]=$WADbSearch1->whereClause; } } else { $WADbSearch1 = new FilterDef; $WADbSearch1->initializeQueryBuilder("MYSQL","1"); //get the filter definition from a session variable if (1 == 1) { if (isset($_SESSION["WADbSearch1_admin_Results"]) && $_SESSION["WADbSearch1_admin_Results"] != "") { $WADbSearch1->whereClause = $_SESSION["WADbSearch1_admin_Results"]; } else { $WADbSearch1->whereClause = $WADbSearch1_DefaultWhere; } } else { $WADbSearch1->whereClause = $WADbSearch1_DefaultWhere; } } $WADbSearch1->whereClause = str_replace("\\''", "''", $WADbSearch1->whereClause); $WADbSearch1whereClause = ''; ?>
I've run a file compare and the two files seem only to have the differences I would expect.
Can you please take a look and let me know where I've gone wrong?
thanks
Ian