halcyonalt Posted September 16, 2006 Share Posted September 16, 2006 In Dreamweaver MX.I am creating a link index of different written works. I want the different viewing options to be flexible, such as browsing through written works based on the title, based on the author, and whatnot.I would like to create an author page, and I think I have most of it. I downloaded the Navigation suite so that I can use letters to help navigate.The problem is, a lot of the written works are written by the same authors. One author's name will show up several times in the database. How do I make it so that it only shows up once when the results display?If I can avoid coding, I would like to, because coding seriously baffles me. I am still very much a layman with PHP.If I can get it to only show up once, I think my problems are solved. I know how to create detail pages and such. It's just that tricky problem of making sure that my page isn't filled up with the same author for one particular letter. Quote Link to comment Share on other sites More sharing options...
AndyB Posted September 16, 2006 Share Posted September 16, 2006 SELECT DISTINCT author ... would work in part of your query. I have no idea how DreamWeaver works. Quote Link to comment Share on other sites More sharing options...
halcyonalt Posted September 16, 2006 Author Share Posted September 16, 2006 That was shockingly easy. Thank you! :D Quote Link to comment Share on other sites More sharing options...
halcyonalt Posted September 16, 2006 Author Share Posted September 16, 2006 Urk, nevermind. It seems that once I introduce URL parameters into the query, it doesn't seem to want to work. I'm not sure why that is. The query works fine with the parameter without the DISTINCT tag on it, but once I add it, nothing shows up in the query. I don't even get an error message. Quote Link to comment 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.