Hello. Tell me, please, I can’t catch anything because of what the 500 error gets out when sending the form. It comes out when adding such a piece of code to the handler:
if ($id == 'calculator' && !empty($_POST['calculator-data'])) { $out = "\n"; parse_str($_POST['calculator-data'], $calculatorData); foreach ($calculatorData as $index => $params) { $out .= $params['title']. "\n"; $out .= "--------------------------------------\n"; unset($params['title']); foreach ($params as $name => $value) { $out .= "\t" . strip_tags($value) . "\n"; } $out .= "\n"; } $data['windows'] = $out; }