Re: [PHP-DB] PostgreSQL query many escape characters?

[email protected] (John DeSoi)
Newsgroups php.db
Message-ID <[email protected]>
On May 1, 2009, at 3:59 PM, Carol Walter wrote:


It would be much easier to read and write like this:

$query = 'INSERT INTO "tblPeople"("fName","mName","lName", ivlweb,  
cnsweb)'
. " VALUES ($new_f_name_new, $new_m_name_new, $new_l_name_new,  
$new_ivl_web_peop, $new_cns_web_peop);";


> First query: INSERT INTO "tblPeople"("fName","mName","lName",  
> ivlweb, cnsweb) VALUES ('Frank', 'D', 'Oz', 't', 't');
> Second query: INSERT INTO  
> "tblContactInformation"("contactItem","contactType") VALUES ('[email protected] 
> ', '0010')
> Can't execute 2nd query
>
> Actually, neither query executes.


What is the exact error message you are seeing?




John DeSoi, Ph.D.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.