Data Assist error after created all pages
Hi Guys,
I have created a test page to use data assist. After I have created all pages by dataassist wizard and tried to see the pages on my browser I just see this message on the pages:
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 'check
WHERE 0 = 1' at line 1
Even when I try to open a recordset in dreamweaver. a popup windows says:
MySQL Error#: 1064
This is my starting code in check_results.php
<?php require_once('Connections/Con_Check.php'); ?>
<?php
if (isset($_GET['S_ID']) && ($_GET['S_ID']) == "") {
$_GET['S_ID'] = "-1";
}
?>
<?php
if (isset($_GET['S_Nome']) && ($_GET['S_Nome']) == "") {
$_GET['S_Nome'] = "-1";
}
?>
<?php
if (isset($_GET['S_Usuario']) && ($_GET['S_Usuario']) == "") {
$_GET['S_Usuario'] = "-1";
}
.......
Thanks
Dungol