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
Expand|Select|Wrap|Line Numbers
- if ($company != "" )
- {
- print "okok \n";
- }
- else
- {
- print "Not ok \n";
- }