Error: " " is not added
| From: | ZioBudda | Date: | Wed, 05 Apr 2000 13:53:31 +0000 |
| Subject: | Error: " " is not added | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-13166@lists.php.net to get a copy of this message | ||
Hi, I have send it to the 2 lists because I don't know if it is my error
in the scripts or a bug in PHP4RC1.
I have this little code:
$cognome_linea = trim($cognome_linea);
while(strlen($cognome_linea)< 70);
{ $cognome_linea .= " ";
print("cog = --$cognome_linea--<BR>");
}
print("cog = --$cognome_linea--<BR>");
The enter in a loop beacuse
$cognome_linea .= " ";
not working. If I make
$cognome_linea = "foo"
$cognome_linea .= " ";
print("cog = --$cognome_linea--<BR>");
the result is
cog = --foo--
Why this?
Where is my error, if one?
"Te riempo de botte, che il tuo cellulare da Family diventa Orfany".
--
Michel <ZioBudda> Morelli michel@enter.it
ICQ UIN: 58351764
PR of PhpItalia.com
Sito WWW http://www.ziobudda.net
Italian Linux FAQ http://faq.ziobudda.net
Freshmeat Italia http://www.ziobudda.net/myfresh
TuttoRPM http://www.ziobudda.net/TuttoRPM