Ultimately I want the links the be displayed by ID
Code: Select all
$query = "SELECT * FROM pages ORDER BY ID DESC";
$result = mysql_query($query);
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
echo "<font size=3><a href=>" . $row['title'] . "</a></font><br/>" .
$row['subtitle'] . "<br/><br/>";
}
then run a different query to display the contents of that ID. something simple like... http://www.example.com?id=3