I am doing sharing form and I can´t find out the problem. What am I doing wrong?
<?php
if ($hlaska)
echo('<p>' . htmlspecialchars($hlaska) . '</p>');
$vasemail = (isset($_POST['vasemail'])) ? $_POST['vasemail'] : '';
$email = (isset($_POST['email'])) ? $_POST['email'] : '';
$predmet = (isset($_POST('predmet')) ? $_POST['predmet'] : '';
$zprava = (isset($_POST['zprava'])) ? $_POST['zprava'] : '';
?>
This is code about line 50. Line 50 is starting with $predmet
If I comment or delete all code contenting something with $predmet it works as it should. $predmet is in English $subject FYI.