← prev | next →
anujrock1 2022-05-25 11:22:11
TheHunter_95 2022-05-25 11:20:45
like this
$users = person::all() ;
print_r($users); ?
Yes bro
anujrock1 2022-05-25 11:22:25
TheHunter_95 2022-05-25 11:21:55
u r very helpfull
thanks a lot 😍❤️
Happy to help
TheHunter_95 2022-05-25 11:23:18
anujrock1 2022-05-25 11:21:59
You are storing data in show function, please name function as it’s work
For listing we use index
For storing we use store
For showing single record we use show
For updating record we use update
Fornl deleting we use destroy
This all you will find in resource controller
Name should be like that easily understandable what it is doing/performing
so these are user defined right ?
i inserted data in show function
now want to show on view page
using the same function
anujrock1 2022-05-25 11:24:46
TheHunter_95 2022-05-25 11:23:18
so these are user defined right ?
i inserted data in show function
now want to show on view page
using the same function
https://www.itsolutionstuff.com/post/laravel-9-crud-application-tutorial-exampleexample.html
Take a look into this, it will help you
Laravel 9 CRUD Application Tutorial Example –
Itsolutionstufflaravel 9 crud operation example, build a laravel 9 crud application, laravel 9 crud application for beginners, how to create crud in laravel 9, crud operation in laravel 9, laravel 9 crud application tutorial, crud application in laravel 9
anujrock1 2022-05-25 11:26:42
LegendaryTimmy69 2022-05-25 11:21:17
We don’t know admin but everyone can report that profile for spam or scam.
Yes, please share he username
Rahul Kahar 2022-05-25 11:37:54
She is investor not developer
anujrock1 2022-05-25 11:39:49
Rahul Kahar 2022-05-25 11:37:54
She is investor not developer
OMG
zey34354 2022-05-25 12:13:19
zey34354 2022-05-25 12:13:29
what is the problem here ?
anujrock1 2022-05-25 12:18:38
zey34354 2022-05-25 12:13:29
what is the problem here ?
Auth::user() is null
Rafaellorenzogil 2022-05-25 12:19:13
Hello, I am looking for a developer to modify a Laravel system, if anyone is interested, contact me privately…thanks to all
anujrock1 2022-05-25 12:19:16
zey34354 2022-05-25 12:13:19
Check first if user is authenticated or not
zey34354 2022-05-25 12:22:01
anujrock1 2022-05-25 12:18:38
Auth::user() is null
in which file ?
anujrock1 2022-05-25 12:22:23
zey34354 2022-05-25 12:22:01
in which file ?
CheckAdmin middleware
anujrock1 2022-05-25 12:23:13
zey34354 2022-05-25 12:22:01
in which file ?
Line no. 22
anujrock1 2022-05-25 12:24:04
zey34354 2022-05-25 12:13:19
If(Auth::check) {
And place your line no. 22 code here
}
lilbreezyy 2022-05-25 13:00:43
anujrock1 2022-05-25 11:24:46
https://www.itsolutionstuff.com/post/laravel-9-crud-application-tutorial-exampleexample.html
Take a look into this, it will help you
I’ve tried this but then it tells me product controller doesn’t exist
lilbreezyy 2022-05-25 13:00:53
Which is pretty weird
anujrock1 2022-05-25 13:01:49
lilbreezyy 2022-05-25 13:00:43
I’ve tried this but then it tells me product controller doesn’t exist
show us your error
anujrock1 2022-05-25 13:02:08
lilbreezyy 2022-05-25 13:00:53
Which is pretty weird
Don’t worry you will get familer with errors
lilbreezyy 2022-05-25 13:04:14
lilbreezyy 2022-05-25 13:04:54
ForgeDark 2022-05-25 13:27:22
Hello anyone here that sell JP SMTP ? VS BTC
Waxikevin 2022-05-25 13:28:25
Was it imported ?
zey34354 2022-05-25 13:31:19
anujrock1 2022-05-25 12:22:23
CheckAdmin middleware
this page is already in CheckAdmin middleware
lilbreezyy 2022-05-25 13:32:03
Waxikevin 2022-05-25 13:28:25
Was it imported ?
What do you mean exactly?
zey34354 2022-05-25 13:32:58
anujrock1 2022-05-25 12:24:04
If(Auth::check) {
And place your line no. 22 code here
}
why ?
zey34354 2022-05-25 13:34:59
anujrock1 2022-05-25 12:24:04
If(Auth::check) {
And place your line no. 22 code here
}

its like this right now
Waxikevin 2022-05-25 13:35:07
lilbreezyy 2022-05-25 13:04:14
Was the controller imported in the Web routes
anujrock1 2022-05-25 14:03:39
zey34354 2022-05-25 13:34:59
its like this right now
No
anujrock1 2022-05-25 14:04:52
zey34354 2022-05-25 13:34:59
its like this right now
if(!Auth::ckeck())
return redirect(route(‘admin_login)->with();
Add this above your userroles code
anujrock1 2022-05-25 14:05:09
zey34354 2022-05-25 13:34:59
its like this right now
Is this auth route?
zey34354 2022-05-25 14:29:28
anujrock1 2022-05-25 14:05:09
Is this auth route?
yes
Wan_you 2022-05-25 15:25:05
glad to find this channel.
Wan_you 2022-05-25 15:25:22
I have a obstacle in stipe apple pay in Laravel.
← prev | next →