Ad Code

Responsive Advertisement

Ticker

6/recent/ticker-posts

multiple where clause with orwhere clause

 $users = User::where('active','1')->where(function($query) {

			$query->where('email','jdoe@example.com')
						->orWhere('email','johndoe@example.com');
})->get();

Post a Comment

0 Comments

Ad Code

Responsive Advertisement