vern
09-24-2004, 01:41 AM
I want to make sure that forms that are being submitted have content. How do we check if a field is empty when it is submitted?
I'm guessing
if (isset($_POST['item']))
{
do this ....
}
else
echo 'error';
What is the correct way of making sure a field is not empty?
I'm guessing
if (isset($_POST['item']))
{
do this ....
}
else
echo 'error';
What is the correct way of making sure a field is not empty?