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
[Back to original message]
|