You are here: Re: Output HTML code in comman line with help of PHP « PHP Programming Language « IT news, forums, messages
Re: Output HTML code in comman line with help of PHP

Posted by Shelly on 09/09/07 15:56

"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:s_Wdndk5fNItYH7bnZ2dnUVZ_tbinZ2d@comcast.com...
> Orin wrote:
>> Hi!
>> If anybody knows how to output formatted HTML code in command line
>> [especially table(columns) structure] with help of PHP (or other way),
>> please help me.
>>
>> With best regards, Orin
>>
>
> <?php
> echo "<table><tr><td>Row 1, Column 1</td></tr></table>\n";
> ?>

Is THAT what he was asking? His "command line" statement confused me as to
what he wanted. I do a similar thing to what you suggested, but use a
single quote because I often add properties that need the double like:

<?php echo '<table><tr align="center"><td> stuff1</td><td
color="#FFFFFF">stuff2</td></tr></table>'; ?>

--
Shelly

 

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

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