|
|
Html Table Rows Problem [solved] | ||
Discussion by Eggie with 6 Replies.
Last Update: February 10, 2010, 1:29 am | |||
i have this table..
[img]http://www.imagefilez.com/out.php/i218485_untitled.JPG[/img]
i need to align that row with "Players Registered" goes over the whole table...and column with numbers does not spread like that with row which is upon it...
CODE
<table border=1 bordercolor=red align=right><td>Players Registered</td>
<tr><td>
<?php
$osel = mysql_query("select * from members");
while ($online = mysql_fetch_array($osel))
{
?><tr><?php
$s=$online['username'];
$id=$online['id'];
$i++;
?><td><?php
echo $online['id'];?></td>
<?php
?>
<td>
<?php echo $s;?></td>
<?php
?></tr><?php
}?>
</td></tr>
</table>
SOLVED!
CODE
<TH colspan="2">Players Registered</TH>Sat Feb 23, 2008 Reply New Discussion
Sat Feb 23, 2008 Reply New Discussion
Tue Jul 14, 2009 Reply New Discussion
I can use this code to create a table but I cant seem to figure out how to get each answer into it's own individual cell. Can someone please help. It is a simple code. below is the table I created.
<?php$output .= '';Echo "<h1>Table</h1>";Echo "<table border='1' width '250'><td>";for ($counter = 1; $counter <= 10; ++$counter){ for ($number = 1; $number <=10; ++$number) { $output .= $counter * $number . ' ' ; } $output .= '<br />';}Echo "</table>";Include 'multiply.Html.Php';?>
Table
-question by candy
Fri Oct 2, 2009 Reply New Discussion
Wed Jan 20, 2010 Reply New Discussion
<?phpEcho "<h1>Table</h1>";Echo "<table border='1' width '250'>";
for ($counter = 1; $counter <= 10; ++$counter){echo "<tr>"; for ($number = 1; $number <=10; ++$number) { echo "<td>"; echo $output = $counter * $number . ' ' ; echo "</td>"; } echo "</tr>";}Echo "</table>";?>
Fri Jan 22, 2010 Reply New Discussion
hello how can I generate table with numbers inside the cells?
eg:
1 4 7 10
2 5 8 11
3 6 9 12
or :
12 9 6 3
10 8 5 2
10 7 4 1
thanks
-reply by james
Wed Feb 10, 2010 Reply New Discussion
Auto-click Script (15)
|
(5) Looking For Script need help
|
Index

![Quickly Post to Html Table Rows Problem [solved] w/o signup](http://www.astahost.com/template/x/html//images/reply.png)

![email your friend about Html Table Rows Problem [solved]](http://www.astahost.com/template/x/html//images/email.png)
