-- Ian Warner <[EMAIL PROTECTED]> wrote (on Wednesday, 17 October 2007, 02:09 PM +0100): > Am I right in Assuming: > > $table = new Bugs(); > > $data = array( > 'created_on' => '2007-03-22', > 'bug_description' => 'Something wrong', > 'bug_status' => 'NEW' > ); > > $table->insert($data); > > does Automatic Quoting > > so > > $table = new Bugs(); > > $data = array( > 'created_on' => $foo, > 'bug_description' => $bar, > 'bug_status' => $var); > > $table->insert($data); > > are all quoted correctly - if not how is this implemented > > probaly asked a thousand times but couldnt see it in the threads on here
Yes, it does automatic quoting and/or prepare/execute, depending on the backend. -- Matthew Weier O'Phinney PHP Developer | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/
