I have a index page in this page I have 2section like shop and files which shop data comes from subdomain WordPress API I wanna cache this data can you help me?

|
Ancy 2022-03-28 16:57:23
Amit Sharma 2022-03-27 13:03:58
$(‘input[type=checkbox]’).on(‘change’, function() {
let status = $(this).val();
console.log(status);

Try this
$(‘input[type=”checkbox”]’).click(function (){
if($(this).prop(“checked”)==true){
}
});

James Kinyua 2022-03-28 17:00:58
laravel_discuss-113154.jpg
Hi Guys, I have a list of achievements and a list of achievements a user has achieved. How do I get the list of achievements they have not qualified for?
Maheswar98 2022-03-28 17:10:11
Hello, I require freelance flutter developer from tamilnadu for my startup
no_name 2022-03-28 17:34:28
Mech Arena https://link.plrm.zone/sdlgo/tc4s

Get Mech Arenalink.plrm.zone
Download the game and send me a Friend invite!
Bhavyakumar Panchotiya 2022-03-28 17:57:57
OneProgrammer 2022-03-28 15:29:41
Please explain further more about what exactly you want to do

It’s working bro …Thank you

PHP Begginer 2022-03-29 00:05:44
I am bit coonfuse on route grouping with laravel 9 . I need to use resources to my code BUT i am bit confused ,can someone assist
PHP Begginer 2022-03-29 00:06:44
https://pastebin.com/1NUeUHTt

route resoouces laravel 9 – Pastebin.comPastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
bsamaasi 2022-03-29 00:15:08
James Kinyua 2022-03-28 17:00:58
Hi Guys, I have a list of achievements and a list of achievements a user has achieved. How do I get the list of achievements they have not qualified for?

Use filter on the collection

bsamaasi 2022-03-29 00:21:54
PHP Begginer 2022-03-29 00:06:44
https://pastebin.com/1NUeUHTt

On you could take of the controller method and the group, resource can get the prefix directly

devpsoft 2022-03-29 00:21:59
mrgafury 2022-03-28 09:40:31
Hi. I want to have a login form for tow projects. That are on speperate server. I use jwt package in laravel. Is it possible?

key_screte the same

rlawjddn00 2022-03-29 00:35:51
Guys, I want to make factory with relationship. But I don’t know how to deal with
rlawjddn00 2022-03-29 00:37:06
Board hasmany posts, user hasmany posts.

I just want to create dummy posts

rlawjddn00 2022-03-29 00:37:27
I made dummy boards and users
bsamaasi 2022-03-29 00:53:33
rlawjddn00 2022-03-29 00:37:06
Board hasmany posts, user hasmany posts.

I just want to create dummy posts

If you are using laravel 8+ then there’s a has() on the factory class

bsamaasi 2022-03-29 00:55:17
You use like… Board::factory()->has(Post::factory()->count(2))->create();
bsamaasi 2022-03-29 00:56:35
bsamaasi 2022-03-29 00:55:17
You use like… Board::factory()->has(Post::factory()->count(2))->create();

Relationship must exist on the model and HasFactory trait must exists

rlawjddn00 2022-03-29 02:46:33
https://stackoverflow.com/questions/71654872/how-to-define-one-to-many-relationship-in-factory

Help me

Laravel 8 – Factories & Foreign KeysStack Overflow
I haven’t been able to locate how to manage foreign keys when creating Factories and Seeders.
I have a users table and a blog_posts table. The blog_posts table has a foreign key user_id that refere…
rlawjddn00 2022-03-29 03:15:46
rlawjddn00 2022-03-29 02:46:33
https://stackoverflow.com/questions/71654872/how-to-define-one-to-many-relationship-in-factory

Help me

Solved it

cletuskingdom 2022-03-29 03:18:38
laravel_discuss-113190.jpg
Anyone experience issues installing paystack?

I’m using php8 and laravel 9.
I’ve downgraded to php7 and it’s still not working.

Tinkeen 2022-03-29 05:14:15
cletuskingdom 2022-03-29 03:18:38
Anyone experience issues installing paystack?

I’m using php8 and laravel 9.
I’ve downgraded to php7 and it’s still not working.

Why not implement your paystack yourself instead of using packages

Mr Professor 2022-03-29 09:22:31
Any laravel expert
🥷inbox me
Mr Professor 2022-03-29 09:22:49
Now
cletuskingdom 2022-03-29 09:23:07
Tinkeen 2022-03-29 05:14:15
Why not implement your paystack yourself instead of using packages

How do you mean?

Tinkeen 2022-03-29 09:31:23
cletuskingdom 2022-03-29 09:23:07
How do you mean?

You can easily implement paystack like raw PHP in Laravel instead of the library

cletuskingdom 2022-03-29 09:33:12
Tinkeen 2022-03-29 09:31:23
You can easily implement paystack like raw PHP in Laravel instead of the library

Okay,
I get.

Bhuva Harpal 2022-03-29 09:35:05
how to store image upload in post api can you help me ?
cletuskingdom 2022-03-29 09:35:36
Bhuva Harpal 2022-03-29 09:35:05
how to store image upload in post api can you help me ?

The same way you do it normally

Bhuva Harpal 2022-03-29 09:36:11
yes
mehdidelghavi 2022-03-29 09:42:07
Hi every one. I have a index page in this page I have 2section like shop and files which shop data comes from subdomain WordPress API I wanna cache this data can you help me ?
niyachhim 2022-03-29 10:16:47
laravel_discuss-113214.jpg
Hi everyone I got this error from user profile page after click view profile. Who could give me the solution?
niyachhim 2022-03-29 10:16:48
laravel_discuss-113215.jpg

Madhesh 2022-03-29 10:46:40
niyachhim 2022-03-29 10:16:47
Hi everyone I got this error from user profile page after click view profile. Who could give me the solution?

Pass the id in function like this userprofile($id)

niyachhim 2022-03-29 10:54:46
Madhesh 2022-03-29 10:46:40
Pass the id in function like this userprofile($id)

It is still not work

mynameisbrad 2022-03-29 11:08:35
niyachhim 2022-03-29 10:54:46
It is still not work

You just don’t have logged in user, try to dump it with dd(Auth::user())

u_f_0_1 2022-03-29 11:30:44
niyachhim 2022-03-29 10:16:47
Hi everyone I got this error from user profile page after click view profile. Who could give me the solution?

It depends on what you’re trying to do

1. Are you trying to get the ID or a logged in user? Then use Auth::user()->I’d

2. Are you trying to get a particular user info from a list of users? Then you should pass the $id in the function and in your route also

|