Public feed
#378648
<?php
require_once("db.php");
$sql = "SELECT * FROM beaches";
$data = mysql_query($sql);
while($record = mysql_fetch_assoc($data))
{
$id = $record['id'];
$name = $record['name'];
echo "<table width=\"504\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\">";
echo " <tr>";
echo " <td colspan=\"2\" bgcolor=\"#636363\" class=\"subHeader\">$name - $rating </td>";
echo " </tr>";
echo " <tr>";
echo " <td width=\"90\" valign=\"top\" class=\"bodyText style2\"><p><img src=\"images\$picture.jpg\" width=\"90\" height=\"90\" /></p> </td>";
echo " <td width=\"406\" valign=\"top\" class=\"bodyText style2\">$desc</td>";
echo " </tr>";
echo " <tr>";
echo " <td colspan=\"2\" valign=\"top\" bgcolor=\"#636363\" class=\"bodyText\"><p align=\"right\" class=\"style1\">more details | gallery | map </p></td>";
echo " </tr>";
echo "</table><br>";
}
?>