QueryObject

Used to build up a SQL statement. This is one of the most useful classes I ever wrote.

You can separate the WHERE stuff from the SELECTs. So your display code is kept separate from your search code.

Good for passing the $qo around to different objects who all get their peck at it.

Checking for permissions can be easily added with a simple if statement.

if(! ISADMIN) { // only admins could see it if its offline
$qo->where("online = 1");
}


also UpdateObject and InsertObject and DeleteSQL