<?php
//Prisijungi prie duomenų bazės
mysql_connect("localhost", "nickas", "pass") or die(mysql_error());
//Pasirenki duomenų baze
mysql_select_db("db_baze") or die(mysql_error());

//Gauni visus duomenis is lenteles ir atvaizduoji
$result = mysql_query("SELECT * FROM tavolentele") 
or die(mysql_error());  

echo "<table border='1'><tr><th>Eilutė</th> <th>Download description</th></tr>";
while($db = mysql_fetch_array( $result )) {
	echo "<tr><td>"; 
	echo $db['Elutės'];
	echo "</td><td>"; 
	echo $db['download_description'];
	echo "</td></tr>"; 
} 
echo "</table>";
?>