Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Dereferencing a column name to it's value

Quote Reply
Dereferencing a column name to it's value
I know it's late and I might be tired, but...

I am trying to set a variable equal to the value of a column name.

col_name comes from a plugin option and is the name of a column. i.e. Color.
Code:
<%set value =col_name%>
<%value%>
Displays 'Color'

I want the value from that column, i.e. 'Red'

I did consult the template docs, but didn't find the solution there Unsure
I also tried other variations, but no go.

Thanks,
Chris
RGB World, Inc. - Software &amp; Web Development.
rgbworld.com
Subject Author Views Date
Thread Dereferencing a column name to it's value rgbworld 3812 Jul 30, 2006, 4:03 AM
Thread Re: [rgbworld] Dereferencing a column name to it's value
fuzzy logic 3728 Jul 30, 2006, 9:37 AM
Thread Re: [fuzzy logic] Dereferencing a column name to it's value
rgbworld 3724 Jul 30, 2006, 5:11 PM
Thread Re: [rgbworld] Dereferencing a column name to it's value
fuzzy logic 3718 Jul 30, 2006, 8:50 PM
Thread Re: [fuzzy logic] Dereferencing a column name to it's value
rgbworld 3699 Jul 31, 2006, 12:36 PM
Thread Re: [rgbworld] Dereferencing a column name to it's value
fuzzy logic 3711 Jul 31, 2006, 8:38 PM
Post Re: [fuzzy logic] Dereferencing a column name to it's value
rgbworld 3686 Jul 31, 2006, 11:40 PM