Hi Andres,
I'm also new to this mailing list.
The echo function does not insert a \n at the end of the line. Try removing the
extra space after the ?>
__
Raymond Irving
Create Rich PHP Web Apps Today!
Raxan PDI - http://raxanpdi.com/
--- On Wed, 3/25/09, Andres Gonzalez wrote:
From: Andr
thanks for your response kyle, I did not realize that.
-Andres
kyle.smith wrote:
I'm not sure it will resolve your issue, but the closing ?> is not a
requirement and will eliminate any chance of you adding whitespace to
the end of your scripts:
#!/usr/bin/php
echo "I'm some script output!"
I just figured this out.
It all depends on what is AFTER the last ?> tag.
If I do not have extra line feeds they are not printed.
Wow...
thanks,
-Andres
Andres Gonzalez wrote:
Hi,
I want to learn PHP so I started using it for all of my general
purpose scripts. The general format of my s
I'm not sure it will resolve your issue, but the closing ?> is not a
requirement and will eliminate any chance of you adding whitespace to
the end of your scripts:
#!/usr/bin/php
mailto:and...@packetstorm.com]
Sent: Wednesday, March 25, 2009 11:29 AM
To: php-general@lists.php.net
Subject: [PHP] n
4 matches
Mail list logo