[PHP-DB] Escaping Characters help needed

2005-09-23 Thread Chris Payne
Hi there everyone, Can any of you see why the below will not insert into my database? Hann Heritage Homes' Fall Circuit entry. Fabulous ranch floorplan w/walkout basement. Stunning great room w/FP, dramatic dining room, den, screened porch. Mullett kitchen with glazed birch cabinets and granite.

Re: [PHP-DB] Escaping Characters help needed

2005-09-23 Thread Micah Stevens
look at: mysql_escape_string(); On Friday 23 September 2005 2:28 pm, Chris Payne wrote: Hi there everyone, Can any of you see why the below will not insert into my database? Hann Heritage Homes' Fall Circuit entry. Fabulous ranch floorplan w/walkout basement. Stunning great room w/FP,

Re: [PHP-DB] Escaping Characters help needed

2005-09-23 Thread Micah Stevens
Just out of curiosity, your method looks like it should work, what's the mysql error message? -Micah On Friday 23 September 2005 2:28 pm, Chris Payne wrote: Hi there everyone, Can any of you see why the below will not insert into my database? Hann Heritage Homes' Fall Circuit entry.

[PHP-DB] pg_fetch_object

2005-09-23 Thread John DeSoi
I'm using PHP 5.0.4, PostgreSQL 8.0.2. Docs say (http://www.php.net/manual/en/function.pg-fetch-object.php): object pg_fetch_object ( resource result [, int row [, string class_name [, array params]]] ) pg_fetch_object() returns an object with properties that correspond to the fetched

[PHP-DB] format of mysqli returned array

2005-09-23 Thread jonathan
Is there any documentation about how mysqli returns a result set? i use fetch_assoc on it and would like to write a result to a text file in the same format so that it could be opened at a later point and run through a while phrase. thanks, jonathan -- PHP Database Mailing List

[PHP-DB] Re: [PHP] pg_fetch_object

2005-09-23 Thread Michael Fuhr
On Fri, Sep 23, 2005 at 08:55:44PM -0400, John DeSoi wrote: pg_fetch_object() returns an object with properties that correspond to the fetched row's field names. It can optionally instantiate an object of a specific class, and pass parameters to that class's constructor. I'm passing a