Re: text insertion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>    Use HTML 'pre' tags:
>
>        <pre><?php echo $your_content; ?></pre>
>

I just tried that and that puts all the text on a single line.


echo '<tr class="topic-post">
<td class="user-post"><strong>' . $posts_row['first_name'] . ' ' .
$posts_row['last_name'] . ' ' . date('m-d-Y h:iA',
strtotime($posts_row['store_date'])) . '</strong></td>
</tr>
<tr class="visit">
<td class="post-content">Broad Band test results:</strong> ' .
$posts_row['store_tptest'] . '<br/><br/><pre>'
.$posts_row['store_comments'] . '</pre></td>
</tr>';

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux