Hello.
I compose a table script:
<table border="0" cellspacing="1" cellpadding="1">
<?php
$i=0;
while ($i < $num) {
$f0=mysql_result($result,$i,"f0_username");
$f1=mysql_result($result,$i,"f1_nickname");
$f10=mysql_result($result,$i,"f10_speak");
$f12=mysql_result($result,$i,"f12_learn");
$f25="2010.07.02 10:00 am";
?>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f1; ?></font></td>
<tr>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f25; ?></font></td>
<tr>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f10; ?></font></td>
<tr>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f12; ?></font></td>
</tr>
because some text is a little long, so it wrap the text to display, but I want the table cell don't wrap the text.
How to do?
Please help me
Thank you
I compose a table script:
<table border="0" cellspacing="1" cellpadding="1">
<?php
$i=0;
while ($i < $num) {
$f0=mysql_result($result,$i,"f0_username");
$f1=mysql_result($result,$i,"f1_nickname");
$f10=mysql_result($result,$i,"f10_speak");
$f12=mysql_result($result,$i,"f12_learn");
$f25="2010.07.02 10:00 am";
?>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f1; ?></font></td>
<tr>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f25; ?></font></td>
<tr>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f10; ?></font></td>
<tr>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f12; ?></font></td>
</tr>
because some text is a little long, so it wrap the text to display, but I want the table cell don't wrap the text.
How to do?
Please help me
Thank you