Variable not set when post request |
hi this is my template :
Code: <?= $this->include('templates/header_admin') ?> this is my method to change Admin's email : PHP Code: public function changeEmail() this is the form : PHP Code: <?= $this->extend('templates/layout_admin') ?> empty_view it' an empty file only to send variable to view. when i go to /admin/changeEmail title_h1 is set but when i post the form i have : Undefined variable: title_h1 Why ? $data['title_h1'] is set at the start of method ... |
Messages In This Thread |
Variable not set when post request - by pippuccio76 - 08-30-2020, 07:26 AM
RE: Variable not set when post request - by jreklund - 08-30-2020, 07:58 AM
RE: Variable not set when post request - by pippuccio76 - 08-30-2020, 11:47 AM
|