i got a code like this:
include 'dbconnect.php'; mysql_query("SET NAMES utf8;"); $sql = mysql_query("SELECT * From courseEnglish"); $courseInfo = array(); while ($row_course = mysql_fetch_assoc($sql)) $courseInfo = $row_course;
it gives me a php array from the db, but in order to present the data i need to use:
i would like for the array to be so i can just type somthing like:
is there an option for changing the code so ill have an array i can loop on with just indexes?