using this query:
$queryC = "SELECT * FROM tbl_courses WHERE course_id='$course_id'";
$resC = mysql_fetch_assoc(dbQuery($queryC));
$allUnits = $resC[course_unit];
print_r(array($allUnits));
returns:
Array ( [0] => 3 ) Array ( [0] => 3 ) Array ( [0] => 2 ) Array ( [0] => 2 )
but am expecting it to return
Array ( [0] => 3 ) Array ( [1] => 3 ) Array ( [2] => 2 ) Array ( [3] => 2 )
anybody whit usefull help please....
I need it as soon as possible
Thanks in advance