Data type edit input |
Hi, having to edit an article already present, I come across the field composed of an input data.
PHP Code: <div class="form-group mb-3 row"> Taking the current value (therefore a date and a date type field) unfortunately I do not take the date that I saved in the database in "strtotime" format. PHP Code: 'birth' => strtotime(str_replace('/','-',$this->request->getVar('birth'))), How can I do? |
Messages In This Thread |
Data type edit input - by Marcolino92 - 04-30-2020, 12:32 AM
RE: Data type edit input - by php_rocs - 04-30-2020, 05:16 PM
RE: Data type edit input - by Marcolino92 - 05-01-2020, 12:17 AM
RE: Data type edit input - by php_rocs - 05-01-2020, 12:11 PM
|