Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Dynamic modal name appending in laravel

$modelName = 'AppHttpModels'.$request->model;
$this->model = new $modelName;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Dynamic #modal #appending #laravel
ADD COMMENT
Topic
Name
4+4 =