php3-list | 199903
Date: 03/20/99
- Next message: Juan A. Pons: "[PHP3] [OT, mostly]Help with URL Rewriting"
- Previous message: Jesper Frank Nemholt: "[PHP3] Problems compiling PHP with SNMP & GD support on Digital Unix"
- Next in thread: Chad Cunningham: "Re: [PHP3] Netscape vs. ID - parse error"
- Reply: Chad Cunningham: "Re: [PHP3] Netscape vs. ID - parse error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, all,
I'm working on a script that generates an SQL statement (SELECT) with WHERE clauses and ORDER BY clauses...
Funny thing is the script works fine when I access it with Netscape but gives a parse error when I access it with MSIE.
The parse error is said to occur on the line containing the sql statement as a variable:
Here's the line:
$result = pg_Exec($dbConnect, $sqlQuery);
Background info:
$dbConnect = pg_pconnect("localhost", "", "", "", ""); // sensitive data removed
$sqlQuery = "select model.brandcode, model.modelcode, model.itemserialnumber, model.holdreason, model.itemaccessories,model.itemmeter, tbllocations.city, tbllocations.province, model.itemconditionnotes, model.itemcost, model.itembaseprice1, model.itembsaeprice2, model.datein from model, tbllocations where model.itemlocationid = tbllocations.importlink and model.brandcode = '3M'";
Can anyone tell me a) why PHP cares what browser the remote client is using, and b) if there's anything in that SQL statement that would trip me up?
Thanks much in advance,
Brad
Brad Marsh, Computer Specialist
Center for Evaluation and Research, LLC
(530) 527-5537 or 527-5638 fax
http://www.tchp.org/cer/
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Juan A. Pons: "[PHP3] [OT, mostly]Help with URL Rewriting"
- Previous message: Jesper Frank Nemholt: "[PHP3] Problems compiling PHP with SNMP & GD support on Digital Unix"
- Next in thread: Chad Cunningham: "Re: [PHP3] Netscape vs. ID - parse error"
- Reply: Chad Cunningham: "Re: [PHP3] Netscape vs. ID - parse error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

