This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I inherited a project and I am trying to get a search page to work.
He has this in the code.
$users = $users->where('foo','=', $foo);
<!-- code in between -->
$users = $users->where('bar','=', $bar);
This is to continue the query, so that both where statements build off each other in order to build the complex query based on the user input.
The page doesn't load as of right now but would that overwrite the $users var.
This structure is used in a long function. How would I get this to work?
*repost from PHP help * added clarification
Subreddit
Post Details
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/laravel/com...