query_fetch_all("select * from slides where show_data='1' order by id"); ?> Department of Physics and Materials Sciences Chiang Mai University