<?php
mysql_connect("localhost", "root", "slaptazodis, jai jo nera nk nerasai") or die(mysql_error());
echo "Prisijungei prie <span style="border-bottom: 1px dotted black;">MySQL</span><br />";
?>
<?php
mysql_connect("localhost", "root", "slaptazodis, jai jo nera nk nerasai") or die(mysql_error());
mysql_select_db("test") or die(mysql_error());
?>
$result = mysql_query("SELECT * FROM lentele")
or die(mysql_error());