0 Best Reply Awards

  • Member Since 1 Month Ago
  • 4 Lessons Completed
  • 0 Favorites

16th March, 2018

oroalej left a reply on Is This The Proper Way Of Adding Records? • 3 days ago

@behnampmdg3 Just to add, please make sure to validate first the request before inserting it in your database.

you can either:

public function store(CreateARequest $request)


You can learn it here

Or through this

public function store(Request $request)
    $validate = $request->validate([
                     'about' => 'required,

The first one is much easier.

oroalej left a reply on Model Access In Laravel > 5 • 3 days ago

@tykus Thanks men, I learned new things from you.

oroalej started a new conversation Caching A Query Result • 3 days ago


What is the best way to cache a query result if the page have a filter option? Do I get all the result and cache it then just manipulate the result from there?

Thank you in advance guys.

1st March, 2018

oroalej started a new conversation Pagination Without ... • 2 weeks ago

I would like to create a pagination only 1 2 3 4 5 6 7 8. However, when the page is more than 10, the pagination becomes 1 2 3 4 5 6 7 8 ... 9 10. How can i remove the ... 9 10? Is there a way to do this?

17th February, 2018

oroalej started a new conversation How To Use Old() In Multiple Select Without Using Form::select() • 1 month ago

The title already said it all, I was able to retrieve the old form value using the Form::select(). I'm just curious if this is possible in plain html?

Also, How can you validate the multiple select? since we add "[]" to the name of the select when it's multiple, the validation doesn't work in this name. Can you guys guide me on how.

Edit Your Profile

Want to change your profile photo? We pull from gravatar.com.