it's not strange at all. your href is not inside a cfloop or
cfoutput,
so any reference to a query column will reference the first
row only.
one thing you can do is add a column that contains the full
href text to
your query, i.e.:
SELECT categoryID, categoryName, CONCAT('/l/listing/tag/',
categoryName,
'.html') AS hreflink
FROM...
the above syntax is for MySQL, but your db will have its own
CONCAT()
function equivalent.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/