mercredi 13 juillet 2016

Laravel 5.2 generate random number and save to database

I am new to Laravel and I am creating a client table where i have different fields, but also, i have a field called client_number which i want to generate random numbers in laravel and save them to that specific column without a duplicate as well.

Can anyone please help me.

Thanks alot




Aucun commentaire:

Enregistrer un commentaire