Hi, I have a weird problem with mysql query. I'm running apache on a windows server with mysql and php. I got my sql query, when i try to print out the data, it only loads part of the data. When i click on refresh, sometimes it loads fully, sometimes it loads a third, sometimes it loads a fourth of the way. Basically i have a sql statement that gets 8 fields per row from a table. When the data gets about 30+ rows, it stops loading. and when i click refresh a few times, sometimes it loads another 10 or so more rows. When i try it on my old laptop, it's even worst. It gets like 10 rows. Sometimes it goes to a blank page. Please help. thanks example code assuming all syntax is correct: $sql = select * from mytable where id=$id; $result = mysql_query($sql) or die(mysql_error()); while($myrow=mysql_fetch_array(results)) { $field1 =$myrow["data1"] $field2................... . $field8.................... printf(<td>%s</td>", $field1); printf(<td>%s</td>", $field2); ..................... }