problem with query where select

Posted 1 month ago by daniel21gt

I have tried to do a where query with a select options

Code with error

https://paste.laravel.io/de1569e9-6fe5-477c-b6fc-eac5fb3d59d9

"Trying to get property of non-object (View: C:\laragon\www\crudgobernaciontres\resources\views\Usuario\index.blade.php)"

In this module I consult all the records, but I also want to select by username, I still do not get it.

view https://paste.laravel.io/505fad0a-3fb6-49d4-9465-1751e9de6136 controller https://paste.laravel.io/dfdbb2b5-8c9f-46b2-b9bc-38b5dc2a7cbe

Is it possible to do this in the same module?

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.