1

Topic: How to unite two conditions in one

Good afternoon.
Prompt, please, as it is possible to unite more low on an example two conditions (active and for_order) in one:

$this-> fields_display = array (
' id_product ' => array (' title ' => $this-> l (' ID '), ' align ' => ' center ', ' width ' => 20, ' filter_key ' => ' a! id_product ', ' type ' => ' int ');
' active ' => array (' title ' => $this-> l (' Displayed '), ' active ' => ' status ', ' align ' => ' center ', ' filter_key ' => ' a! active ';
' type ' => ' bool ', ' orderby ' => false);
' for_order ' => array (' title ' => $this-> l (' zzz '), ' for_order ' => ' status ', ' align ' => ' center ', ' filter_key ' => ' a! for_order ';
' type ' => ' bool ', ' orderby ' => false));
$this-> default_order_by = ' a. ` id_product ` ';

Thanks.

2

Re: How to unite two conditions in one

Tuzik Ivanovich;
MySQL such language does not know.