Hi, Folks...
I have this little snippet of code:
?$myOra=MY STRING
?if (!(empty($myOra) || $myOra=)):{?
br
table width=550 border=0 align=center
tr bgcolor=ff
td colspan=3font size=2bOrario:/b?print($myOra)?/font/td
/tr
/table
?} endif?
It
Already added, nothing changed at all...
-Messaggio originale-
Da: Jason Murray [mailto:[EMAIL PROTECTED]]
Inviato: mercoledì 9 maggio 2001 9.56
A: 'Gabriele Biondo'
Oggetto: RE: [PHP] Little question
?$myOra=MY STRING
This needs to have a ? after it...
Jason
--
PHP
This snippet should be used as an example of badly written and presented
code. It tries too hard to do a simple job and in the result fails dismally.
I suggest Gabrielle, that you try to be a little more careful in your coding
and not so smart. I can find no less than four errors that I put
this :
if ... $myOra= ...
should be more like :
if ... $myOra == ...
essentially you're setting $myOra as blank everytime which evaluates to
true, then it ends up printing the blank, which is not good. regarding
typos, this is a common one and since it reveals no error ... it can be
:[EMAIL PROTECTED]]
Sent: 09 May 2001 10:23
To: Gabriele Biondo
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Little question
this :
if ... $myOra= ...
should be more like :
if ... $myOra == ...
essentially you're setting $myOra as blank everytime which evaluates to
true, then it ends up printing
this :
if ... $myOra= ...
should be more like :
if ... $myOra == ...
essentially you're setting $myOra as blank everytime which evaluates to
true, then it ends up printing the blank, which is not good. regarding
typos, this is a common one and since it reveals no error ... it
6 matches
Mail list logo