I am trying to access information in a row and display it using an id in the url for example http://www.markmusicman.com/php/link_test.php?id=1
Here is the code I currently am working with also I am very new to this and have been trying all sorts of stuff hopefully someone here can help me.
<?php include("dbconnect.php");
$result = mysql_query("SELECT * FROM videos where id='$id'")
or die(mysql_error()); $row = mysql_fetch_array( $result ); echo "".$row['text'];?>
If i put an id in the (where id=1) I can disply the info , but I want to be able to choose the id from the web page.
Any help would be greatly appreciated and be easy on me Im new.
Thanks
Mark