Every time I run the following code, I get this error if I use a NUMBER for 
the 'Email' case:
"Warning: Unable to jump to row 0 on PostgreSQL result index 2 in 
/html/rccd/remodel/display2.php on line 35"

or, if I use a string (i.e. [EMAIL PROTECTED]), I get this error message:
"Warning: PostgreSQL query failed: ERROR: Attribute 'jcuz' not found in 
/html/rccd/remodel/display2.php on line 33"

Please help!
switch ($Search) {
case "WO":
         settype ($find,integer);
         $sql = "SELECT * FROM \"Remodel\" WHERE \"WO\" LIKE $find";

case "Email":
         $sql = "SELECT * FROM \"Remodel\" WHERE \"Email\" LIKE $find";

Julio Cuz, Jr.
Riverside Community College

Reply via email to