Well guys i've been struggling with this for about 5 hours now and i realise my brain is fried thought i better get some people who know what they are doing :p Now i just have to explain the problem properly.
I want to display all the goal scorers with just their name and goal time for each separate goal after it like: Carlton Dickson (23, 53) Danniel Tasker (1).
The only way i could think to do this is replace the array with a new one which has in it all the goals in element. So making one row for the names and one row with all the goals in them. Maybe i am not looking at this the right way?
Cheers dudes.
array(8) {
[0]=> array(3) {
["fname"]=>
string(7) "Carlton"
["sname"]=>
string(7) "Dickson"
["time"]=>
string(2) "23"
}
[1]=> array(3) {
["fname"]=>
string(7) "Carlton"
["sname"]=>
string(7) "Dickson"
["time"]=>
string(2) "53"
}
[2]=> array(3) {
["fname"]=>
string(6) "Daniel"
["sname"]=>
string(6) "Tasker"
["time"]=>
string(1) "1"
}