Probably you just need to get day name using carbon for example Carbon::now()->format( 'l' ); and check if it's Sunday then show registration form, else, return message "Sorry you can register only in Sunday", all this may be in a controller
May 22, 2019
1
Level 3
Open an registration page in specific day
Hi guys.
-
I'm new to laravel and I use the 5.7 version . I have a tutoriel registration page , I want in the normal days like monday , thursday etc.. when I open this page it shows me the message "Sorry you can register only in sunday" and when sunday is come , the register form show up
-
when the users post their tutorial , I create a page that show these tutoriels to be voted by the students and the vote stay 3 days when 3 days is completed the students enter to the tutoriels page and they found vote time is over. I don't want a code I want and idea guys please help.
Please or to participate in this conversation.