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]
|