You are here: Two variables in one table cell « All PHP « IT news, forums, messages
Two variables in one table cell

Posted by H@C0 on 11/14/06 12:59

Thanks for the quick response. It is simpler than I thought.
Hans

On Tue, 14 Nov 2006 13:37:31 +0100, "J.O. Aho" <user@example.net> wrote:

>H@C0 wrote:
>
>> echo "<td class=\"DataTD\" colspan=\"3\"> $var1 $var2 </td>";
>> The result is that the output of the variables are placed side by side.
>> How can I place them under each other?
>
>This isn't really a PHP question but a HTML question.
>
>The answer is to use the br-tag (break line)
>
>echo "<td class=\"DataTD\" colspan=\"3\"> $var1<br>$var2 </td>";
>
>
> //Aho

 

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

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