chico1st Posted August 15, 2006 Share Posted August 15, 2006 Okay ive never done this before but i need to make a link to a page which will bring up a database entry.lets say that i know the ID of the entry as $iddoes it just go?<A HREF=magicpage.php?id=$id>go here</a> which leads to magicpage.phpwhere some of the code would be$id = $_GET['id'];$query = "SELECT name, type, size, content FROM magicdatabase WHERE ID = '$id'";sorry ive never dealt with this, and im away from MY computer so i cant test it.After this i should be out of your hair, and I cant tell you how thankful I am for all your help, you are all awesome people! :DTHANKS for any help you can offer Quote Link to comment https://forums.phpfreaks.com/topic/17573-link-to-database-file/ Share on other sites More sharing options...
fenway Posted August 15, 2006 Share Posted August 15, 2006 Sounds like you're got both ends figured out.. that's pretty much all there is to it. Quote Link to comment https://forums.phpfreaks.com/topic/17573-link-to-database-file/#findComment-74875 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.