Good day one and all,
This php statement seems to be bringing back only the one row from a table. How would I modify it so that it would bring back all rows?
while($row = $result->fetch_array())
{
$array = array("UserID" => $row['UserID'], "runDate" => $row['runDate'],"firstName" => $row['firstName'], "Time" => $row['Time'], "Distance" => $row['Distance']);
}
Change
to
That’s about it.