Alright, I have a table of tasks this table has a foreign key which is the “projectID”
I am selecting all the rows within that table that have the same projectID. But I now want to output the results in a list (“<li></li>“)
//Select tasks
$sql = "SELECT * FROM tasks WHERE projectID = '".$project_ID."'";
$result5 = $db->sql_query($sql);
$data5 = mysql_fetch_assoc($result5);

You’re going to need to iterate through each of the rows and output the taskList column value: