I am having a problem with the links on my search result page. All of the links show us fine. The problem is the text in my "include file" also become a hyperlink using the same id# at the last result that shows up in my search. How can I change my script to stop the links before it gets to my include file? I am using MySql and PHP4.
Thanks
echo "<A HREF='pg2.php?id=" . $row["id"] . "'>" . $row["title"] . "</A";
printf("Type of Recipe: %s\n<br>", $row["type"]);
print (" ");
print ("<p>");
} while($row = mysql_fetch_array($result));
} else {print "Sorry, no records were found!";}
include ("footer3k.txt");
?>