My friend was kind enout to make this little script just to show how it works.
<?php $sentence = 'Hello, ' . $_GET['name'] . ', and welcome to my little page.'; echo $sentence; ?> <br /> <br /> <a href="indexx.php?name=Simon">Simon</a><br /> <a href="indexx.php?name=John">John</a><br /> <a href="indexx.php?name=Max">Max</a><br />
This code is easy to understand, but in my site i want to create a page where the information is stored in a database and then the information is collected from there. So for example if a had a table called "people " and then a little information about Simon, John and Max was stored stored in there in a field called "info" how would i echo the information about them when their name is clicked.
Any help would be very appreciated.