Jump to content

Dynamic URL


lilmer

Recommended Posts

I am new to Laravel,

I have registration form which set an extension on the URL on the database table for each user.
Example.

Quote

www.site.com/my-choose-name

I am using Laravel 5.6. Anyone can suggest what is  the best way to get check if the URL exist on the database and it will proceed.

As I now I try to set the Model and make a condition on the config/routes.php  to check if the extension from database, but I know it is not the best solution.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.