f after Email";
print $temp;
Jason White
- Original Message -
From: "Jason White" <[EMAIL PROTECTED]>
To: "Matthew K. Gold" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, July 12, 2002 9:28 PM
Subject: Re: [PHP] is_null question
> You
You can use:
if($row[1]){print "Email:$row[1]";}else{print " ";}
Jason White
- Original Message -
From: "Matthew K. Gold" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 12, 2002 9:23 PM
Subject: [PHP] is_null question
> Hi
Hi Everyone,
Here's my problem: I'd like to make the printing of some text dependent on
whether or not a variable is null. In the following example, when $row[1]
is null, what gets printed on the page is "Email: ". I'd like the
script to not print "Email:" if row[1] is null.
It looks like
3 matches
Mail list logo