You are here: Re: [PHP] line feed « PHP « IT news, forums, messages
Re: [PHP] line feed

Posted by tg-php on 03/04/05 16:55

echo '<table border="1" width="800px">' . chr(10);

chr(10) should be line feed and chr(13) is a carriage return (aka "\r"). Unless I got those mixed up. But yes, you can do that.

Or you could even cheat and do:

echo '<table border="1" width="800px">' . "\n";

-TG

= = = Original message = = =

Double quotes:
echo "<table border=\"1\" width=\"800px\">\n";

single quotes:
echo '<table border="1" width="800px">';


cheers

Bruno Santos


___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация