Executes general queries and is called from the objSQL class.
mixed obj_query ( str query )
Result resource/object or false on failure.
<?php
try
{
    $rs = $dbh->obj_query( "select prod_id from mytable where color='blue' and product='balloon'" );
        
    if ( $dbh->obj_error() )
        throw new Exception( $dbh->obj_error_message() );
        
    echo $rs->obj_num_rows(); 
}
catch ( Exception $e ) 
{
    //log error and/or redirect user to error page
} 
?>
				See also: obj_delete, obj_insert, obj_paging, obj_select, obj_update