Hello stackowerflow people, i need to get array from database, that my variable would look like this $TaskArray['task_id']['task_start_date'] but i dont know how. Maby you guys can help me. Here is the picture of my database

Ive tried doing this, but that ddnt worked. Help please.
$query1 = mysql_query("SELECT task_id, task_start_date FROM dotp_tasks");
if ($query1) {
while ($row = mysql_fetch_assoc($query1)) {
$TaskArray['dbc'] = $row['task_id'];
$TaskArray['dbc']['task_start_date'] = $row['task_start_date'];
}
} else {
task_idshould be dynamic?