07-30-2009, 05:18 PM
|
#83 (permalink)
|
|
how quixotic are you?
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
|
Fair enough.
Here's sneak peak of what I'm planning to do with database selects:
PHP Code:
$table = $this->db->select_table('users');
$select = $table->select(); $select->column('*'); $select->where('name','=','Joe'); $select->order('name'); $data = $table->execute($select);
Of coarse you will still be able to do this:
PHP Code:
$data = $this->db->query("SELECT * FROM `users` WHERE `name`='Joe' ORDER BY `name`");
Expect similar syntax for other kinds of queries as well. Any comments, likes, or dislikes?
Last edited by ETbyrne : 07-30-2009 at 05:54 PM.
|
|
|
|