:(
<head>
<meta http-equiv="Content-Type" content="text/html;charset=cp-1251">
<meta name="author" content="2312312" />
<script src="js/jquery-1.7.2.min.js"></script>
<link href="css/lightbox.css" rel="stylesheet" />
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<?php
$db = mysql_connect('localhost','Admin','admin');
if(!$db){
exit("Ошибка подключения к базе данных");
}
mysql_select_db('fakty',$db);
$sql = mysql_query("select * from t_fakty ");
if (!$sql){
exit("error_sql");
}
echo("<table align='center' class='table1' border =''>");
echo ("<tr>
<td align='center'>1</td>
<td align='center'>2</td>
</tr>");
while ($tablerows = mysql_fetch_row($sql))
{
echo("<tr><td>".$tablerows[0]."</td>");
echo("<td>".$tablerows[1]."</td>");
}
echo "</table>";
?>
</body>
</html>