I have an array that currently prints out like this:
[php]
Array
(
[0] => Array
(
[date] => Sunday October 7, 2012
[status] => Final
[redfruit] => apple
[redscore] => 17
[greenfruit] => bananna
[homescore] => 23
[winner] => bananna
)
[1] => Array
(
[date] => Sunday October 7, 2012
[status] => Final
[redfruit] => peach
[redscore] => 12
[greenfruit] => Kiwi
[homescore] => 9
[winner] => peach
)
[2] => Array
(
[date] => Sunday October 8, 2012
[status] => Final
[redfruit] => appricot
[redscore] => 28
[greenfruit] => grape
[homescore] => 22
[winner] => appricot
)
[3] => Array
(
[date] => Sunday October 8, 2012
[status] => Final
[redfruit] => grapefruit
[redscore] => 6
[greenfruit] => watermellon
[homescore] => 4
[winner] => grapefruit
)
[/php]
I will need a output for a marquee that prints out like this:
[php]
Sunday October 7, 2012… apple 17, bananna, 23 Final… peach, 12 kiwi, 9 Final… Sunday October 8, 2012…appricot, 28 grape 22 Final… grapefruit, 6 watermellon, 4 Final…[/php]
I am a PHP newbie and non of my book seem to cover this. Please help.
Mike