Sets the where argument for the obj_select, obj_delete, obj_update, obj_row_count and obj_paging methods and is called directly from the objSQL class.
void obj_where ( str where )
<?php
try
{
$dbh->obj_table( "mytable" );
$dbh->obj_where( "prod_id=1234" );
$rs = $dbh->obj_delete();
if ( $dbh->obj_error() )
throw new Exception( $dbh->obj_error_message() );
echo $rs->obj_affected_rows();
}
catch ( Exception $e )
{
//log error and/or redirect user to error page
}
?>
See also: obj_cols, obj_data, obj_limit, obj_offset, obj_order_by, obj_sort_order, obj_table