Problems with detailed linkpage

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

no problem, sorry i didn't spot it sooner. Sometimes the obvious stuff just slips by ;)
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post by tim »

yep inside your while loop.

geesh mark, you sure are a busy busy man tonight, lol.
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

s/busy/bored or is it s/busy/sad :o
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

but we love you mark.. why r u sad :( :( :( :( :( :(

thanks for being such a big help tongiht :)

hopefully that will cheer you up
warriors2003
Forum Commoner
Posts: 38
Joined: Wed Mar 24, 2004 7:24 pm

Post by warriors2003 »

One quick question ,,,having problems adjusting the table,,,I haven;t used the result query ever I am usually using select,,,,,and I think its throwing me off,..This is what I have for the table...

<tr>
<td align=center valign=top><B>AB</B></td>
<td align=center valign=top><B>hits</B></td>
<td align=center valign=top><B>hr</B></td>
</tr>

<?
// Display requested entries
while ( $row = mysql_fetch_array($result) ) {
echo("<tr>
<td align=center valign=top>
". $row["ab"] . "</td>
<td align=center valign=top>
" . $row["h"] . "</td>
<td align=center valign=top>
" . $row["hr"] . "</td></tr>");

}

-----------------------------

This displays the ab h r right after each other,in one line,,,,,,how would i set it up,,if i wanted the H AB R on the top with the detailed info in rows right under it.

like

AB H R
4 2 1 game 1
3 3 1 game 2

I'm pretty good with tables, but I think the result thing is messing me up....

Thanks again for all your help!!!!
Post Reply