Robert Cummings wrote:
> Wow, that's hideous!

Only because I chose a complex example, to demonstrate its capabilities.
It's a great deal easier than the equivalent string wrangling. SQL is
meant to be human readable. It's not particularly well-suited to
construction from PHP data types, or to parsing for that matter.

A simple example might be:

$count = $db->selectField('page', 'page_title', array('page_id' => $id));

-- Tim Starling

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to