mardi 8 mai 2018

how to get a variable dynamically from some table by connecting default database and use that variable in database.php file in laravel

Hi we developed an application,in that one i want to give separate database for each registered users,whenever user register database should create automatically with their name and sql dump to that database,and also new database connection should establish for that db in database.php,how to get variable from a table (default database) to database.php file dynamically,i tried this one but got error use should not use in that database.php file

any help should appreciated,thanks in advance....



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire