Hello M.

Below is an example of how I would do it if I were outputting query data
about a list of schools to a table and making the school name a URL to
that school. 

All you need to do is insert the part after the http://www as a variable
in your <a> HTML element construct.

<!--=================================-->

<table>
<tr>
<td>School Name</td>
<td>Field Name2</td>
<td>Field Name3</td>
<td>Field Name4</td>
</tr>
<cfoutput query = "schoolquery">
<tr>
<td><a
href="http://www.#School_URL_Variable_from_Query#";>#School_Name_Variable
_from_Query#</a></td>   
<td>#VariableName_for_Field2#</td>
<td>#VariableName_for_Field3#</td>
<td>#VariableName_for_Field4#</td>
</tr>
</cfoutput>
</table>

<!--=================================-->

Enjoy!

TomStarks, Senior Systems Analyst 
AT&T Services, Inc.

-----Original Message-----
From: M Lanza [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 06, 2007 11:46 AM
To: CF-Newbie
Subject: Basic LINK question

I have a table that contains hundreds of URLs to schools.  I currently
have the the schools and regions dispalyed on the page in a table using
a query. BUT what I really need is for the URLS to appear as links.  How
do I do this dyanamically??? 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3038
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to