query('select * from weather order by year asc,month asc'); print ''; print ''; while($row = $q->fetch_array()) { print ''.$row['month'].'/'.$row['year'].''; } print '
StationMonth/YearMax Temperature (Centigrade)
'.$row['station'] . '
'.$row['maxtemp'].'
'; ?>