Created
September 28, 2015 14:23
-
-
Save mohamedrez/1a4f84c9ed696366c652 to your computer and use it in GitHub Desktop.
Drupal 7 : db_or
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$db_or = db_or(); | |
$db_or->condition('fc.fid', '5' , '='); | |
$db_or->condition('fc.uid', $uid , '='); | |
$query->condition($db_or); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment