Hello Aaron,
Friday, December 07, 2001, Aaron Shurts <[EMAIL PROTECTED]> wrote:
AS> Okay, I was the one that asked the crazy question about the weird join,
AS> but I got that figured out. Now I have a problem.
AS> while( ($login, $existingemail, $areacode, $prefix, $rest) =
$sth->>fetchrow_array ())
AS> {
something like this ?:
$existingemail="NO EMAIL PROVIDED" if ($existingemail eq "" );
AS> print "$login,$existingemail,$areacode-$prefix-$rest\n";
AS> }
AS> That code is inside my foreach statement, but existingemail is an
AS> optional field. If there is no email address given, I would like to
AS> print out "NO EMAIL PROVIDED". How do I do this within my while loop.
AS> When this report is run, it is piped to a csv file so that it can easily
AS> be imported into Excel. Thanks in advance for the help.
Best wishes,
Maxim mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]