What would you use to store some data into a session variable?

|
2021-03-17 15:31:21
maybe sublime text
littlefish111 2021-03-17 15:35:12
Oh no it looks like atom
littlefish111 2021-03-17 15:41:11
laravel_discuss-73705.jpg

littlefish111 2021-03-17 15:41:31
Atom colors the dollar sign in another color
ItsCoderArvind 2021-03-17 15:45:14
Can anyone help me in creating multiauth
rootkings 2021-03-17 15:57:01
ItsCoderArvind 2021-03-17 15:45:14
Can anyone help me in creating multiauth

Multi auth?

Kamalwebdev 2021-03-17 15:58:35
ItsCoderArvind 2021-03-17 15:45:14
Can anyone help me in creating multiauth

You mean roles?

segungreat 2021-03-17 16:13:38
Laracon 2021 going live less than an hour
https://laracon.net/

Laracon Online | FREE on YouTube on September 14th
Laracon Online is the digital gathering of people who are passionate about building amazing applications with the Laravel web framework.
segungreat 2021-03-17 16:17:08
Get the latacon in you timezone https://laravel-news.com/laracon-schedule-cli-2021

Get the Laracon Online Schedule in Your TimezoneLaravel News
Laracon Schedule gives you the Laracon Online schedule in your local timezone.
Severusxyz 2021-03-17 17:27:11
TheGuyi 2021-03-17 14:23:57
I NEED HELP!!
i am trying to only capture the created_at time stamp but it is also capturing the updated_at time-stamp. how do i solve this

Go to mysql and change timestamp default. Use datetime instead of

Severusxyz 2021-03-17 17:28:03
You can’t default definition of update at
abanoubsamirnaguib 2021-03-17 17:44:28
hello guys ,,i have problem when call pivot table ,,my column name is status put i found that name is statust
so i cant call it ,,,
abanoubsamirnaguib 2021-03-17 17:44:56
laravel_discuss-73717.jpg

abanoubsamirnaguib 2021-03-17 17:45:10
laravel_discuss-73718.jpg

Severusxyz 2021-03-17 17:54:59
abanoubsamirnaguib 2021-03-17 17:45:10

Pivot[‘status’]

abanoubsamirnaguib 2021-03-17 18:13:28
i try it but not working ,,its working fir all columns but this coulumn cant call it ,,,may be bc this “t” ,,i dont know
NanoCellMusic 2021-03-17 19:04:39
abanoubsamirnaguib 2021-03-17 17:45:10

You need to use withPivot() in the model class you are trying to call it from

NanoCellMusic 2021-03-17 19:07:18
By default, only the model keys will be present on the pivot model. If your intermediate table contains extra attributes, you must specify them when defining the relationship:

return $this->belongsToMany(Role::class)->withPivot(‘active’, ‘created_by’);

abanoubsamirnaguib 2021-03-17 19:09:34
yes this is the problem,,,thank u man ,,thats fixed it ,,,🥰😍😍
NanoCellMusic 2021-03-17 19:10:40
abanoubsamirnaguib 2021-03-17 19:09:34
yes this is the problem,,,thank u man ,,thats fixed it ,,,🥰😍😍

No problem, I suggest reading into the documentation, they will help you alot

abanoubsamirnaguib 2021-03-17 19:13:06
yeah i will do that in this part,,really thank u ,,❤️❤️
senhorY 2021-03-17 22:07:42
Hey. What would you use to store some data into a session variable? I’m trying the session helper but it gets cleared as I refresh the page
T_r_a_p_s_o_u_l 2021-03-17 22:20:26
laravel_discuss-73730.jpg
any time i try to add permission the datatable disappears I have tried all i can but still giving me that problem … i am using livewire
T_r_a_p_s_o_u_l 2021-03-17 22:22:03
laravel_discuss-73731.jpg
This is my permission controller
EMMANUEL TRO 2021-03-17 22:27:41
laravel_discuss-73733.jpg

EMMANUEL TRO 2021-03-17 22:27:41
laravel_discuss-73732.jpg

EMMANUEL TRO 2021-03-17 22:27:52
Hi guys i want to retrieve data from api to my project but i am experiencing this error can someone help me solve it thanks in advance.
Jihat_developer 2021-03-17 22:57:32
please help me for pass variables component on vue js
Jihat_developer 2021-03-17 22:58:12
laravel_discuss-73737.jpg

Jihat_developer 2021-03-17 22:58:34
laravel_discuss-73738.jpg

Jihat_developer 2021-03-17 22:59:18
laravel_discuss-73739.jpg

ItsCoderArvind 2021-03-17 23:07:50
Kamalwebdev 2021-03-17 15:58:35
You mean roles?

Yes

ItsCoderArvind 2021-03-17 23:08:23
rootkings 2021-03-17 15:57:01
Multi auth?

I mean to say multiple users like admin employee etc… Please help me to set up…

Jihat_developer 2021-03-17 23:11:08
please help me
orkhaannnan 2021-03-18 00:00:32
I have orders and products tables. An order has array of product ids. Can I create a relationship here? array of product ids with id of products table.

If not, how can I make a join, with array of product_ids so that when I get list of orders, I can get their products as well? Thanks)

|