Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hyperlinks in the content area snag

Status
Not open for further replies.

kupe

Technical User
Sep 23, 2002
376
Top navigation, left navigation and footer navigation comes from three mysql tables. It works well.

I put almost the same coding into the content area - with lots of general links to be web - from a fourth table. But while the navigation areas still work well, nothing happens in this middle area. No links, no error message.

$result = @mysql_query("SELECT CONCAT(Link, A)AS hypers FROM middle");
if (!$result) {
exit('<p>Error performing query: ' . mysql_error());
}
while ($row = mysql_fetch_array($result)) {
echo $row['hypers'];
} ?>

I can add a text file to the db and feed that onto the page and it works perfectly. Any thoughts, gurus?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top