Gossamer Forum
Home : Products : Gossamer Links : Discussions :

something wrong with code

Quote Reply
something wrong with code
I'm using the following code to display age groups according to the User's age.

<%if age lt '10'%>age group 5-9
<%elsif age gt '8' and lt '13'%>age group 10-12
<%elsif age gt '11' and lt '19'%>age group 13-18
<%endif%>

For some reason it will not display the correct age groups.

Can anyone help with what I am doing wrong?

Thanks
Subject Author Views Date
Thread something wrong with code Alba 2381 May 23, 2005, 5:02 AM
Post Re: [Alba] something wrong with code
rgbworld 2262 May 23, 2005, 7:00 AM
Thread Re: [Alba] something wrong with code
Andy 2277 May 23, 2005, 7:37 AM
Post Re: [Andy] something wrong with code
Alba 2266 May 23, 2005, 8:37 AM