I want create login time email to login and send a verification email for that mail how to do this in php?

|
PoojaExperts 2021-05-15 07:46:18
can any one help me to setup laravel website ??
classicalrio 2021-05-15 07:49:26
laravel_discuss-81209.jpg

ls232312 2021-05-15 08:12:43
laravel_discuss-81210.jpg

ls232312 2021-05-15 08:13:11
This error occurred while I am updating data
ls232312 2021-05-15 08:14:59
laravel_discuss-81212.jpg

ls232312 2021-05-15 08:15:10
Update controller
Boss_meet 2021-05-15 08:20:20
ls232312 2021-05-15 08:14:59

Please do semi coloumn in first line of function

ls232312 2021-05-15 08:27:39
laravel_discuss-81215.jpg

Lalit Rana 2021-05-15 08:33:31
ls232312 2021-05-15 08:27:39

it’s says unknown column id

Prem Soni 2021-05-15 08:36:31
Lalit Rana 2021-05-15 08:33:31
it’s says unknown column id

he has not use fillable property inside model

Prem Soni 2021-05-15 08:36:43
of course for columns
rijisoft 2021-05-15 08:56:27
Prem Soni 2021-05-15 08:36:31
he has not use fillable property inside model

it’s select query not insert

Prem Soni 2021-05-15 09:01:09
rijisoft 2021-05-15 08:56:27
it’s select query not insert

yes then i kbew he was loading data using boostrap model

Prem Soni 2021-05-15 09:01:24
knew.
Lalit Rana 2021-05-15 09:01:48
Prem Soni 2021-05-15 08:36:31
he has not use fillable property inside model

id we don’t need to add in fillable

Prem Soni 2021-05-15 09:02:24
Lalit Rana 2021-05-15 09:01:48
id we don’t need to add in fillable

we need to if we have use different name for id

Prem Soni 2021-05-15 09:02:34
in his case he has used courseid
justine_chacko 2021-05-15 09:02:36
simon_an 2021-05-15 07:08:53
Read about the Carbon package

Thanks, but I cant find how to check if user has reached 1 year. Do I need to run cronjob everyday to find users reached an year?

Prem Soni 2021-05-15 09:03:03
Lalit Rana 2021-05-15 09:01:48
id we don’t need to add in fillable

now you understand

flyingdragons 2021-05-15 09:03:14
justine_chacko 2021-05-15 09:02:36
Thanks, but I cant find how to check if user has reached 1 year. Do I need to run cronjob everyday to find users reached an year?

If you have subscription start and end date then you can do it very easily

justine_chacko 2021-05-15 09:07:29
flyingdragons 2021-05-15 09:03:14
If you have subscription start and end date then you can do it very easily

If I have both dates i think i need to run a script to stop the previlages of user. So what is the method?

justine_chacko 2021-05-15 09:10:18
Ok, i think i got it. If else can do it?
2021-05-15 09:11:45
When I make profiles and permissions in laravel using laratrust, I can not update the profile once it is registered. Even after changing the profile in database in phpmyadmin, I get the view of the profile which was set while registration. Is there any alternative to this??
nowodev 2021-05-15 09:33:20
justine_chacko 2021-05-15 09:07:29
If I have both dates i think i need to run a script to stop the previlages of user. So what is the method?

I have a logic for this.
You store the subscription date.
Then after a year, you’ll do a conditional check or 2.

If he has renewed the subscription, then continue.
If he hasn’t, stop the subscription.

I believe Carbon should have a way of checking for something after a specif number of days or year

nowodev 2021-05-15 09:46:10
nowodev 2021-05-15 09:33:20
I have a logic for this.
You store the subscription date.
Then after a year, you’ll do a conditional check or 2.

If he has renewed the subscription, then continue.
If he hasn’t, stop the subscription.

I believe Carbon should have a way of checking for something after a specif number of days or year

laravel_discuss-81234.jpg
Using this, you can get the subscription date from the database.

Then you can do something like this
$subscription = $subscription_date_from_db->addYear();

Then you can do an if statement.

If (Carbon::today == $subscription) {
// Perform the actions
}

nowodev 2021-05-15 09:46:37
nowodev 2021-05-15 09:46:10
Using this, you can get the subscription date from the database.

Then you can do something like this
$subscription = $subscription_date_from_db->addYear();

Then you can do an if statement.

If (Carbon::today == $subscription) {
// Perform the actions
}

Justine πŸ‘†

flyingdragons 2021-05-15 09:48:13
justine_chacko 2021-05-15 09:07:29
If I have both dates i think i need to run a script to stop the previlages of user. So what is the method?

If subscription end date is less than current date time then block all the access to him

flyingdragons 2021-05-15 09:48:31
You can use cronjob to run this every midnight
Sandhya M 2021-05-15 10:36:28
How to change status on button click . in laravel
2021-05-15 11:12:25
Sandhya M 2021-05-15 10:36:28
How to change status on button click . in laravel

By ajax

akhil341 2021-05-15 11:12:35
Sandhya M 2021-05-15 10:36:28
How to change status on button click . in laravel

The question is not based on Laravel. Its purely on html & jQuery.

akhil341 2021-05-15 11:14:02
Sandhya M 2021-05-15 10:36:28
How to change status on button click . in laravel

Or Brief your required business logic on Laravel.

favourebrusi 2021-05-15 11:44:04
I want to create notification alert that will notify the admin of expired products, I need help with the code
Sachinraj CP 2021-05-15 14:49:29
I want create login time email to login and send a verification email for that mail how to do this in php ????
YOUCODEWORLD 2021-05-15 14:52:41
Sachinraj CP 2021-05-15 14:49:29
I want create login time email to login and send a verification email for that mail how to do this in php ????

You know what Auth is? What is middleware? What is a database operation, what is a queue more…???

|