0

I have a data set in my SQL table (pic related), and when I call back the results the first value is missing from the data set.

This is how I call back the data set:

$q = "SELECT o.*, f.*
    FROM opening_hours o
    LEFT JOIN farms f ON o.farm_id = f.id
    WHERE f.id = {$_GET['id']}
    ORDER BY weekday ASC";

$data_set = mysql_query($q, $connection);
confirm_query($data_set);

while ($row = mysql_fetch_array($data_set)) {           
    echo $row['start_hour'] . "<br />";
}

The end result is to the right of the image.

enter image description here

user1228907
  • 369
  • 2
  • 6
  • 16

0 Answers0