Type: Posts; User: Townsheriff
Search took 0.01 seconds.
0 is a value can be fixed: if (!empty($firstname) || $firstname == 0)
Thanks you guys for helping. Got what I wanted.
Final Result :)
$fields = array(
I changed to $_POST, but still it doesnt work.
echo 'First name is: ' . $firstname;
It shows anyway if its empty or if it has a value.
Im trying to make form and I want if the field is empty it doesnt show it at all, but it shows anyway.
<form action="form.php" method="get">
<fieldset style="width: 250px;">