How do I pass a variable from my view to my JS function?

|
Hazar_Orabi 2021-08-21 06:28:37
Hazar_Orabi 2021-08-21 06:26:02

What does this error mean?

Hazar_Orabi 2021-08-21 06:32:09
What can i do?
Sujata Kalita 2021-08-21 06:42:53
Hazar_Orabi 2021-08-21 06:26:02

Compact(‘posts’)

Hazar_Orabi 2021-08-21 06:50:12
Sujata Kalita 2021-08-21 06:42:53
Compact(‘posts’)

The same error is still

bahodirov39 2021-08-21 06:59:30
Hazar_Orabi 2021-08-21 06:50:12
The same error is still

Did u save change?

Hazar_Orabi 2021-08-21 07:00:05
Yes
tracygrey57 2021-08-21 07:16:41
Dk8056 2021-08-21 06:06:49
Can you please share ur code

ok

tracygrey57 2021-08-21 07:17:20
laravel_discuss-92268.jpg

tracygrey57 2021-08-21 07:18:52
laravel_discuss-92269.jpg

Sultonov_Daler 2021-08-21 09:46:21
Hazar_Orabi 2021-08-21 06:26:02

return view()

Hazar_Orabi 2021-08-21 11:42:00
The error is solved
Shivendra 2021-08-21 15:54:24
https://youtube.com/c/Realprogrammer
Shivendra 2021-08-21 15:55:00
Please subscribe it is related to programming
JeevaniSM 2021-08-21 16:42:48
natghi2010 2021-08-20 14:04:15
Its looking like future employment is heading towards Nodejs/react.

kind of agree with that – but the 80% of the web is built with PHP, so PHP jobs are not gonna end in long future. Laravel is getting complex on getting layers and layers . its like being the drupal in CMS world. But once you master the Laravel, its pretty awesome…

Node is the new trend, but there is nothing Laravel/PHP cannot do that Node can . at the end of the day, it depends on the project you are working, the company you work on .

natghi2010 2021-08-21 16:50:55
JeevaniSM 2021-08-21 16:42:48
kind of agree with that – but the 80% of the web is built with PHP, so PHP jobs are not gonna end in long future. Laravel is getting complex on getting layers and layers . its like being the drupal in CMS world. But once you master the Laravel, its pretty awesome…

Node is the new trend, but there is nothing Laravel/PHP cannot do that Node can . at the end of the day, it depends on the project you are working, the company you work on .

For most cases

natghi2010 2021-08-21 16:52:44
But if you build, a major project with many processes, laravel is not the way to go.
natghi2010 2021-08-21 16:54:10
That being said, node is also horrible because of its lack of proper framework.
amsa2021 2021-08-21 17:00:24
Ping me for free interview questions and cheetsheet
BodyanWA 2021-08-21 17:24:07
How do I pass a variable from my view to my JS function?
likemind021 2021-08-21 18:05:05
BodyanWA 2021-08-21 17:24:07
How do I pass a variable from my view to my JS function?

Use the data attribute in html

amir881231 2021-08-21 19:09:48
Hi everyone
Can anybody tell me how to have multiple where conditions
amir881231 2021-08-21 19:10:51
For instanse i want to say if a date was between to dates or….. How can i tell this
Flamingo 2021-08-21 19:12:56
amir881231 2021-08-21 19:10:51
For instanse i want to say if a date was between to dates or….. How can i tell this

https://laravel.com/docs/8.x/queries#additional-where-clauses

Flamingo 2021-08-21 19:13:08
amir881231 2021-08-21 19:10:51
For instanse i want to say if a date was between to dates or….. How can i tell this

Use whereBetween

Mk_123656 2021-08-21 21:38:48
Someone can help me
In lararvel QR code generator it work successfully.and send QR code to user mail. If user scan then change the status = 1 in database.
YOUCODEWORLD 2021-08-21 21:45:54
Mk_123656 2021-08-21 21:38:48
Someone can help me
In lararvel QR code generator it work successfully.and send QR code to user mail. If user scan then change the status = 1 in database.

Have a budget?

natghi2010 2021-08-21 22:20:52
amir881231 2021-08-21 19:10:51
For instanse i want to say if a date was between to dates or….. How can i tell this

public function index()
{
$start = Carbon::now()->subDays(30);
$end = Carbon::now();

$users = User::select(“*”)
->whereBetween(‘created_at’, [$start, $end])
->where(‘status’,’admin’)
->get();

dd($users);
}

natghi2010 2021-08-21 22:21:35
amir881231 2021-08-21 19:10:51
For instanse i want to say if a date was between to dates or….. How can i tell this

https://www.itsolutionstuff.com/post/laravel-eloquent-wherebetween-query-exampleexample.html

Laravel Eloquent whereBetween() Query ExampleItsolutionstuff
laravel where between eloquent, laravel eloquent wherebetween, laravel eloquent wherebetween dates, laravel wherebetween dates example, laravel wherebetween date format, laravel eloquent wherebetween dates
omar khaled 2021-08-21 23:10:31
laravel_discuss-92312.jpg

omar khaled 2021-08-21 23:10:43
what’s the problem
Nimit1906 2021-08-21 23:12:34
Notification table not found
etekumoses 2021-08-21 23:21:11
omar khaled 2021-08-21 23:10:31

Check if you created the notifications tables

Nurullah Demirel 2021-08-21 23:48:05
He’ll every one what is the easiest way to make a real time events recorder
2021-08-22 10:44:41
Hello everyone? There is an error that i have been recieving lately and it so happens in my create product migration table
2021-08-22 10:44:57
And here is a part of my code snippet
|