Hi all,
I did the null string comparison for below...
But could not work as i keyed some value into the $company field but it did not print out okok, but not ok. I used if ($company != '') also did not help...
Can you kindly advise?
Cheers...
Andrew
I did the null string comparison for below...
But could not work as i keyed some value into the $company field but it did not print out okok, but not ok. I used if ($company != '') also did not help...
Can you kindly advise?
Cheers...
Andrew
Code:
if ($company != "" )
{
print "okok \n";
}
else
{
print "Not ok \n";
}
Comment