Answer the question
In order to leave comments, you need to log in
Slim Framework how to pull data from post to $app?
I can't understand at all.
There is a code:
$app->post('/register/', function ($request, $response, $args) use ($app) {
var_dump($app);
return $this->view->render($response, 'registerduring .html', [
]);
})->setName('register');
["bodyParsed":protected]=> array(4) { ["mail"]=> string(6) "yvy" ["password"]=> string(8) "yvy" ["name"]=> string (8) "yvvy" ["phone"]=> string(10) "yvy" }
Answer the question
In order to leave comments, you need to log in
docs.slimframework.com/request/variables
try learning how to google, it's a useful skill for a developer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question