FPDF does not matter here, this code does not use it directly.
This code get all data results to an indexed array, it does not skip the first row, if this one is missing, check you are not calling mysql_fetch_assoc($orders) before this code.
The best way to know is to try.