DB Read 'AND' condition

tim92109 29 Mar, 2016
I have [hopefully] a simple question. I wanted to use an 'AND' operator in the condition fields. Is this possible? I've tried several ways... for a couple examples:
<?php 
return array(('cb_accounttype' => 'Company') AND ('user_id' => $user); ?>
?>

<?php 
return array('cb_accounttype' => 'Company' && 'user_id' => $user); ?>
?>

Is there a way to do this? Hopefully I'm just using the wrong syntax.

thanks!
tim92109 29 Mar, 2016
Awesome! I knew that would be an easy one for you. Definitely a page worth bookmarking.

Thanks!
This topic is locked and no more replies can be posted.