ZF-1698: Add note warning about quoting strings in example code

Issue Type: Docs: Improvement Created: 2007-07-09T22:14:43.000+0000 Last Updated: 2008-06-15T14:12:12.000+0000 Status: Resolved Fix version(s): - 1.0.1 (30/Jul/07)

Reporter: Marc Richards (talawahdotnet) Assignee: Bill Karwin (bkarwin) Tags: - Zend_Db_Table

Related issues: Attachments:


The following example code for Zend_Db_Table has a where clause in the fetchAll function that uses plain string. This is straight forward, but not exactly safe. I believe the warning note (like those used on previous pages) about quoting is necessary on this page:…

<pre class="highlight">
$rowset = $bugs->fetchAll("bug_status = 'NEW'");


Posted by Bill Karwin (bkarwin) on 2007-07-27T11:51:00.000+0000

Documentation written in revision 5884.

Posted by Wil Sinclair (wil) on 2008-01-23T18:32:36.000+0000

Updating Fix Version to follow issue tracker conventions.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.