<?php $sql = mysql_query("Select * from kategoriler"); while($row = mysql_fetch_assoc($sql)){ echo '<pre>'; print_r($row); echo '<pre>'; } ?>