if ($field=="")
{
print it
}
else
{
#don't print it.
}
There are several ways of checking if a variable has a valid content:
"isset($var)" checks to see if the var has any value at all, including ""
"if($var=="")" checks to see if the value of $var is empty (also true if $var is not assigned)