View Single Post
Old 07-30-2009, 05:18 PM   #83 (permalink)
ETbyrne
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

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?
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com

Last edited by ETbyrne : 07-30-2009 at 05:54 PM.
ETbyrne is offline  
Reply With Quote