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

Posted by J.O. Aho on 11/14/06 12:37

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

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