Need help with syntax for a passed parameter...
Posted on 2006-04-23
I'm an experienced programmer but I am new to ColdFusion.
I have this line in my code ...
<a href="recipe_page.cfm?varID=7"class="linktext">Medley of Brown & Wild Rices</a>
It's actually in the page recipe_page.cfm ... basically, I'm in a recipe page (which is totally dynamic) and I want to click on a link to go to another recipe. I was testing it with my recipe #7.
The "7" is available in a recordset ...
What is the proper syntax for me to replace the "7" in my line of code with the value that is in the field?
I've tried a few "obvious" syntaxes but haven't hit on the right one yet!