I am already getting the data ok, from MySQL using mysql_fetch_assoc so that part is taken care of. I have been doing some research on explode(), but not sure how get the values I want into an array. It look like explode works like this.
<?php
$str = "1 7 9 10 15";
print_r (explode(" ",$str));
?>
which outputs:
Array ( [0] => 1 [1] => 7 [2] => 9 [3] => 01 [4] => 15 )
and I am trying to get to something like this.
<?php
$a = array('1', '7', '9','10,'15');
$b = array('I-A', 'I-D', 'III-C',IV-A,'VI');
$c = array_combine($a, $b);
echo($c);
?>
sorry if I am being slow to get this. Never dealt mush with arrays and explode(). Just need to know how to get from point A to Point B to Point C.