dbTalk Databases Forums  

Re: trying to run a query

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Re: trying to run a query in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Scott Marlowe
 
Posts: n/a

Default Re: trying to run a query - 07-29-2004 , 12:45 PM






On Thu, 2004-07-22 at 11:16, Hari Bhanujan wrote:
Quote:
Gurus,



I am working on a script in PHP that will be run nightly to delete and
update a system.



What I am getting is the following error



Pg_exec(): Query Failed: ERROR : parser: parse error at or near &quot.



What I have is a connection string that ties database connectivity to
sql string and then I try to insert data read from an array..



Any ideas on why this could be happening.
Post your code...


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html



Reply With Quote
  #2  
Old   
Jeffrey Melloy
 
Posts: n/a

Default Re: trying to run a query - 07-30-2004 , 12:45 PM






Scott Marlowe wrote:

Quote:
On Thu, 2004-07-22 at 11:16, Hari Bhanujan wrote:


Gurus,



I am working on a script in PHP that will be run nightly to delete and
update a system.



What I am getting is the following error



Pg_exec(): Query Failed: ERROR : parser: parse error at or near &quot.



What I have is a connection string that ties database connectivity to
sql string and then I try to insert data read from an array..



Any ideas on why this could be happening.



Post your code...


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


You're somehow passing HTML-escaped code to PostgreSQL.

Jeff

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.