Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?php
include ("connect.php"); //тук си пишеш връзката
$query=mysql_query("SELECT name,text,author FROM news ORDER BY id DESC") or die(mysql_error());
while($row = mysql_fetch_array($query))
{
extract($row);
echo "
<table style="border: 1ps solid #ffff33;">
<tr>
<td>$name<td>
</tr>
<tr>
<td>$text</td>
</tr>
<tr>
<td>$author</td>
</tr>
</table>
<br />";
}
?>