I'm not new to PHP, but new to actually using it practically. :-) Does anyone know of a good SQL library that can encapsulate queries and make constructing them in general much easier?
I don't need something as serious as Propel, what I need is something ala:
$query = new Query();
$query->addField("first_name");
$query->addField("last_name");
$query->addTable("user");
$query->addCondition("id = ?", 43);
Anything?