Parašė smart· 2010 Rugp. 10 12:08:55
#3
$result = mysql_query("SELECT * FROM vartotojai")
or die(mysql_error());
while($row = mysql_fetch_array( $result )) {
echo "<table border='0' width='100%'>";
echo "<tr><td>Pavadinimas:";
echo $row['vardas'];
echo "</tr></td>";
echo "</table>";
echo "<table border='0' width='100%'>";
echo "<tr><td>Naujiena:";
echo $row['slaptazodis'];
echo "</tr></td>";
echo "</table>";
echo "<table border='0' width='100%'>";
echo "<tr><td>Autorius:";
echo $row['el_pastas'];
echo "</tr></td>";
echo "</table>";