';
mysql_query("UPDATE content SET content = '$_POST[location]' WHERE navigationid='1'");
// Assign the query
$sql_query = "SELECT content FROM content";
//Execute the query
$result = mysql_query($sql_query);
if (!$result)
{
die ("Could not query the database:
".mysql_error());
}
//Fetch and display the results
while ($row = mysql_fetch_row($result))
{
print'
You are here: '.$row['0'].'
';
}
print '
';
?>