Answer the question
In order to leave comments, you need to log in
How to check a field with another table before registration in laravel?
Good afternoon!
Can you tell me how I can make a request for verification before registration?
It is necessary that when the registration button is pressed, one field is checked for data matching with the table (let's say verification_codes).
Those. a person fills in all the fields and clicks on the "register" button, before writing data to the users table, he goes to the verification_codes table and checks whether the correct code is entered in the corresponding field and if it is correct, then continues, if not, then we interrupt the registration.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question