Page 2 of 2

Posted: Wed Mar 24, 2004 8:25 pm
by markl999
no problem, sorry i didn't spot it sooner. Sometimes the obvious stuff just slips by ;)

Posted: Wed Mar 24, 2004 8:26 pm
by tim
yep inside your while loop.

geesh mark, you sure are a busy busy man tonight, lol.

Posted: Wed Mar 24, 2004 8:28 pm
by markl999
s/busy/bored or is it s/busy/sad :o

Posted: Wed Mar 24, 2004 8:31 pm
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

Posted: Wed Mar 24, 2004 8:49 pm
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!!!!