Hello everybody
I have a script that looks like this:
[PHP]
<?php
if (isset($_POST['name'])) {
echo "$_POST[name]";
}
else
{
echo "Here the form with the insert name and submit";
}
?>
[/PHP]
Now if a user press submit the form goes to if (isset($_POST['name'])) {
But there is nothing filled in, Can i stop that there is nothing filled in and that a user needs to put something in the field?
Thanks in advance.
I have a script that looks like this:
[PHP]
<?php
if (isset($_POST['name'])) {
echo "$_POST[name]";
}
else
{
echo "Here the form with the insert name and submit";
}
?>
[/PHP]
Now if a user press submit the form goes to if (isset($_POST['name'])) {
But there is nothing filled in, Can i stop that there is nothing filled in and that a user needs to put something in the field?
Thanks in advance.
Comment