hello guys ive got a tought one here ive been tryign to figure it out for about a week but i just cant get my head round it
i dont knw how to explain what i want my code to do so ill simply try to show you
basicly i have a programe that out puts this
####################################################
Uniball StatBot
Dave_K/Civilian
####################################################
Gamename - hockey w/stats
Game Date - 11/16/2004 12:14:04 AM
Map - hockey
Final Score
Red Team - 10 Blue Team - 3
Possession (% of Time Holding Ball)
~~~~~~~~~~
NoRp (Red) - 23%
Darksil (Red) - 17%
ByteRyder (Red) - 23%
d0gb0ne (Blue) - 15%
Flyin (Blue) - 11%
method (Blue) - 7%
Goals (# Goals/# Assists)
~~~~~~
NoRp (Red) - 4/2
Darksil (Red) - 3/1
ByteRyder (Red) - 3/3
d0gb0ne (Blue) - 0/1
Flyin (Blue) - 3/0
method (Blue) - 0/1
Passes (# Good Passes/# Bad Passes)
~~~~~~
NoRp (Red) - 33/22
Darksil (Red) - 36/16
ByteRyder (Red) - 36/22
d0gb0ne (Blue) - 12/20
Flyin (Blue) - 13/20
method (Blue) - 16/21
Interceptions (# of Interceptions)
~~~~~~~~~~~~~
NoRp (Red) - 20
Darksil (Red) - 17
ByteRyder (Red) - 24
d0gb0ne (Blue) - 16
Flyin (Blue) - 21
method (Blue) - 24
Stat log generated by the Uniball Statbot
and i wanted to be able to put this file into a php script that converts it to a table like
<table width="200" border="1">
<tr>
<td>name</td>
<td>wins</td>
<td>losses</td>
<td>goals</td>
<td>assists</td>
<td>goals for </td>
<td>goals against</td>
<td>posession</td>
<td>good passes </td>
<td>bad passes </td>
<td>interceptions</td>
</tr>
<tr>
<td>NoRp</td>
<td>1</td>
<td>0</td>
<td>4</td>
<td>2</td>
<td>10</td>
<td>3</td>
<td>23</td>
<td>32</td>
<td>22</td>
<td>20</td>
</tr>
</table>
but with all the players
the problem im having is the fact that each time i get the info its differant
but in the same shape and layout if you know what i mean.
any ideas?
if i didnt explain myself pls ask and i will answer asap
thanks so sosososos much in advanced
--NoRp