Laravel 2022-04-20 14:45

|
mehdidelghavi 2022-04-20 14:45:18
I’m using Laravel and I wanna get last 10 woccommerce products in subdomain
mehdidelghavi 2022-04-20 14:45:32
Please help me
zey34354 2022-04-20 15:18:57
laravel_discuss-117025.jpg

zey34354 2022-04-20 15:19:07
what is the problem here
Bright 2022-04-20 15:20:19
Guys I’m building a school management system, where student can study online and also inside campus, individuals can also buy tutorial online, my problem is, to check how many hours or minutes a student watch the online tutorial please, any idea my seniors please I’m begging although is not for any organization, I’m just building it in other to learn more
zey34354 2022-04-20 15:20:43
laravel_discuss-117028.jpg

Bright 2022-04-20 15:21:37
Each student will see a tutorial related to his or her course
NsaghaKingsly 2022-04-20 15:24:15
zey34354 2022-04-20 15:20:43

Show controller code

NsaghaKingsly 2022-04-20 15:24:27
Bright 2022-04-20 15:20:19
Guys I’m building a school management system, where student can study online and also inside campus, individuals can also buy tutorial online, my problem is, to check how many hours or minutes a student watch the online tutorial please, any idea my seniors please I’m begging although is not for any organization, I’m just building it in other to learn more

Try this
http://jsfiddle.net/w5xeao2q/1/

Edit fiddle – JSFiddle – Code Playgroundjsfiddle.net
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
zey34354 2022-04-20 15:32:51
NsaghaKingsly 2022-04-20 15:24:15
Show controller code

okay

zey34354 2022-04-20 15:33:48
laravel_discuss-117034.jpg

Bright 2022-04-20 15:35:16
NsaghaKingsly 2022-04-20 15:24:27
Try this
http://jsfiddle.net/w5xeao2q/1/

Very useful, thanks a lot, now cracking my brain on how to use it to query the database

Bright 2022-04-20 15:37:21
Any idea will help please
NsaghaKingsly 2022-04-20 15:39:15
zey34354 2022-04-20 15:33:48

Try Category::findOrFail($id)

NsaghaKingsly 2022-04-20 15:40:08
zey34354 2022-04-20 15:33:48

Category you are looking for might not exist

zey34354 2022-04-20 15:45:54
NsaghaKingsly 2022-04-20 15:40:08
Category you are looking for might not exist

I got that form laravel site

zey34354 2022-04-20 15:46:07
why isn’t it exist ?
NsaghaKingsly 2022-04-20 15:47:08
Don’t know maybe not in your database
Bright 2022-04-20 15:52:29
zey34354 2022-04-20 15:33:48

dd($data);
To check ok

Bright 2022-04-20 15:53:13
return dd($data);
zey34354 2022-04-20 15:58:24
Bright 2022-04-20 15:52:29
dd($data);
To check ok

I did it

zey34354 2022-04-20 15:58:34
it was working
zey34354 2022-04-20 15:58:46
but what is the problem with it
zey34354 2022-04-20 15:59:25
I couldn’t understand
Bright 2022-04-20 15:59:36
So check in your blade maybe you have mistakenly added forech while you don’t have to use it when editing
Bright 2022-04-20 16:00:06
zey34354 2022-04-20 15:59:25
I couldn’t understand

So check in your blade maybe you have mistakenly added forech while you don’t have to use it when editing

zey34354 2022-04-20 16:00:09
Bright 2022-04-20 15:59:36
So check in your blade maybe you have mistakenly added forech while you don’t have to use it when editing

I will send to you the code

Bright 2022-04-20 16:00:21
zey34354 2022-04-20 16:00:09
I will send to you the code

Ok

Bright 2022-04-20 16:00:35
zey34354 2022-04-20 16:00:09
I will send to you the code

Your blade ok

zey34354 2022-04-20 16:00:59
I did the code like this in index.blade
zey34354 2022-04-20 16:01:18
but its not working very well with me
zey34354 2022-04-20 16:02:21
laravel_discuss-117057.jpg
I have it like this
zey34354 2022-04-20 16:02:46
its not showing the entire code of the table
Bright 2022-04-20 16:05:39
zey34354 2022-04-20 16:00:59
I did the code like this in index.blade

Your code was deleted but I think I saw foreach try removing forech and call the data direct
Like,
No foreach
Input type=”text” value=”{{ $dara->id}}”/>

zey34354 2022-04-20 16:07:07
how come that my code was deleted
|