Sorry, NogDog.. your efforts are not in vain. I have copied that piece of code for future use! Thank you for the reply.
Quick question, if you wouldn't mind...
I am doing what I said in my last post where they will be able to click on the search results and have it display only that item. The below code displays ALL columns in the table. Is there a way to have it display only the item clicked?
<?
$var = @$_GET['q'] ;
mysql_connect("sql1.phpnet.us","username","pass");
mysql_select_db("database_guide");
$result = mysql_query("select * from strain_guide");
//grab all the content
while($r=mysql_fetch_array($result))
{
//the format is $variable = $r["nameofmysqlcolumn"];
//modify these to match your mysql table columns
$field1=$r["field1"];
$field2=$r["field2"];
$field3=$r["field3"];
$field4=$r["field4"];
$field5=$r["field5"];
$id=$r["id"];
?>
I just need it to display the selected ROW instead of all ROWS of the table. This is most likely very simple but I can't seem to figure it out.
You'll notice I have the GET code there because it will be sent over from the search results. Should I use the ID itself or just the first column to tell it which item to display?
Thanks so much and sorry for the messy thread!