I'm still learning PHP and am having some trouble creating an array that I can add the info to a PHP Chart.
Here is my call to the database.
$query = mysql_query("SELECT * FROM exercising_table WHERE uname = '$username' ");
exercise_id (primary key)
exercise_duration (int in minutes)
and I need to output the array in this format:
The first column is the date (to be taken from exercise_timestamp) and the second column is the exercise time (to be taken from exercise_duration)
Could anyone assist me with this?
Thank you so much.