You can’t have spaces or dashes in a variable name.
$hear about = $_POST['hear-about'];
Should be
$hearabout = $_POST['hear-about'];
or
$hear_about = $_POST['hear-about'];
solved how to fix my php error? [closed]
You can’t have spaces or dashes in a variable name.
$hear about = $_POST['hear-about'];
Should be
$hearabout = $_POST['hear-about'];
or
$hear_about = $_POST['hear-about'];
solved how to fix my php error? [closed]