i have a text field i want to do that
function function1(){
$field=$_GET['fil1']; // this is the part of function
}

if ($field=="") {
echo "please fill the field";
}
else
{
function1();
}

this is the coding i write but that in the function1 it doesn't validate $field
so what i have to do ???