Re: Quick Question: Line Breaks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



\n is not converted to a newline unless you use double quotes around the 
string. 

See: http://us3.php.net/manual/en/language.types.string.php

-Micah


On Thu January 08 2004 7:58 pm, Jacob Hackamack wrote:
> Hello,
>
> I have a couple of quick questions.  When I execute this code on my php
> page (I know that the .PSD image isn¹t web ready, but Safari does what I
> need it to do :) ) it displays the entire source as one line.  Is there
> anyway to have it be broken.  I have read places (internet sites) that say
> that the following solutions might work:
>     echo ?¹;\n\n
>     echo ?¹\n\n ;
>     echo ?\n\n¹;
>
> None of them seem to work, am I doing something wrong?
>
>
> echo '<meta http-equiv="content-type" content="text/html; charset=utf-8">';
> echo '<html>';
> echo '<head>';
> echo '<title>';
> echo 'FilmCanister Desktops';
> echo '</title>';
> echo '</head>';
> echo '<body>';
> echo '<center>';
> echo '<img src="images/Rotating.psd">';
> echo '<h2>';
> echo 'Coming Soon....Desktop Pictures (2.83 GB Worth)</h2>';
> echo '</center>';
> echo '</body>';
> echo '</html>';
>
> Also, I am looking for a good freeware image gallery for Linux/Apache, if
> anybody has any suggestions please help out.
>
> Thanks for advance.
>
> Jacob

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux