here is my scratchy code (it's crude I know....)
1) this page will show a link to "obits list." Actually, on this page, it would be okay for me to see a list of deceased names all of which are linked to pages with all of the mysql data in the table, so each page is "automatically" created and the funeral home employees do not have to create a distinct .php/.htm/.html page for each deceased.
<html>
<head>
<title>Index Page</title>
</head>
<body>
<center><h2>INDEX</h2></center><BR>
<?php
//make a MySQL connection
include('config.php');
// echo " <a href=\"insert.php\">INSERT PHP</a><br>";
//get all the data from the page table
//*=select everything from the table page
$result = mysql_query("SELECT * FROM page")
or die(mysql_error());
while($link=mysql_fetch_array($result)){
//echo (display) a link using $link[linkid]
//echo " <a href=\"webpage.php?id=$link[linkid]\">Web Page 1</a><br>";
echo "<p>$result</p>";
echo " <a href=\"webpage.php?id=$link[linkid]\">obits list</a><br>";
}
?>
</body>
</html>
2) this web page is what appears when the user clicks on the "obits list" <a href></a> link in the above page and what I see is one deceased name (these are just test names, just to be clear...) John Smith which is an anchor, and when I click on John Smith i get a broken link to [
easwebdesign.com...] So on this page above, if all of the information input into the db by the funeral home employees (name dod age description etc.) appears here I don't need to anchor it to another page at all.
I hope this is clear, and even do-able, maybe I am unclear how this works. The idea is that the funeral home just wants to enter there deceased data and have it magically appear on the website, all of the deceased names that they have entered. Later on I will write a filter to show months or something like that.
Thanks so much for your help!