Hi guys,
I saw that the above issue was already resolved... i just wanted to say that for my 737-800 i used this code:
-------------
public function get_plane738_stats($howmany) {
$query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps`
WHERE landingrate < '0'
AND Aircraft = '1' OR Aircraft = '3' OR Aircraft = '8' OR Aircraft = '9' OR Aircraft = '12'
ORDER BY landingrate DESC
LIMIT $howmany";
return DB::get_results($query);
}
------------
To answer the above question.
Bye!
Lucas