d it works now, but I'm a little confused as to why it
works.
Thanks again.
-Original Message-
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 11, 2002 11:06 PM
To: Jason Soza
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Variable Prob
It would seem the only way this cou
It would seem the only way this could happen is if $last_name evaluates to
true. Two suggestions:
1) Make some extra change in one of the printf statements so you can see
which one is really being called.
2) If that doesn't illuminate anything, show a little more code.
miguel
On Sat, 11 May
Argh!
I hate it when one little annoying thing starts up right when I think I have
the coding finished! I have the following code:
if($last_name) {
printf("%s
%s's%s%s\n",$first_name,$last_name,$year,$color);
} else {
printf("%s's%s%s\n",$first_name,$year,$color);
3 matches
Mail list logo