Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

0
stacking eloquent queries
Post Flair (click to view more posts with a particular flair)
Post Body

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

Author
Account Strength
90%
Account Age
5 years
Verified Email
Yes
Verified Flair
No
Total Karma
2,442
Link Karma
230
Comment Karma
2,197
Profile updated: 4 days ago
Posts updated: 1 week ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago