help with mysql and tables
Posted: Sat Aug 25, 2007 1:25 pm
feyd | Please use
any help would be greatly appreciated thanks.
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
hey everyone hope everythings going well......I just started with php and have been teaching myself....and have now run into a roadblock....heres the problem im creating a product review page and so i have my display tables set to 500px in width....then in the td tags i have the code[color=red]...<?php echo $row["review"];?>[/color]...now when i view it in my browser the data displayed in the tables is not word wrapping so the tables expand to fit the data so i end up with 2000px tables and i mean i have fixed widths but its ignoring that.....is there any way at all to fix that? here is my table code below....Code: Select all
<table width="500" border="1" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2"><?php echo $row["make"]." ".$row["model"];?></td>
</tr>
<tr>
<td width="152"><?php echo $row["poster"]."<br>".$row["Date"];?></td>
<td width="348"> <?php echo $cmt ?></td>
</tr>
</table>feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]