$query = "SELECT * FROM zodziai"; $result = mysql_query($query); while( $row = mysql_fetch_object($result)){ print_r($row); print '<br/>'; }