RE: Testing for empty value

2004-08-05 Thread Charles K. Clarkson
From: mike wrote: : I have the following code : : print "date times",@date,br; : if ($ti1){ : print "time 1 is not empty"; : } : else { : print "time 1 is empty"; : } : : If there is a value it works but not if there isn't : ie: if there is a value it prints "time 1 is

Re: Testing for empty value

2004-08-05 Thread Randy W. Sims
On 8/5/2004 6:23 PM, Jenda Krynicky wrote: From: mike <[EMAIL PROTECTED]> I have the following code print "date times",@date,br; if ($ti1){ print "time 1 is not empty"; } else { print "time 1 is empty"; } If there is a value it works but not if there isn't ie: if there is a value it prints "time 1

Re: Testing for empty value

2004-08-05 Thread Jenda Krynicky
From: mike <[EMAIL PROTECTED]> > I have the following code > > print "date times",@date,br; > if ($ti1){ > print "time 1 is not empty"; > } > else { > print "time 1 is empty"; > } > > If there is a value it works but not if there isn't ie: > if there is a value it prints "time 1 is not empty", bu