$gauti = mysql_query("SELECT * FROM `lentele`"); while($row = mysql_fetch_assoc($gauti)) { echo $row['pavadinimas']; echo $row['zippykodas']; }