I am using the enhanced template mod for links located at http://www.gossamer-threads.com/...ces/Detailed/26.html and have a question.
I am using the <,> to determine if a number in my DB (quantity) is greater than or less than a certain number. Here is how I have it set
<%Quantity%>
<endif%>
<%if Quantity < '10'>
We have a short supply of this product, please contact our sales staff....
<%endif%>
Now it all works fine except if the quantity is 10, which then it just shows nothing. I know this may be simple but I am just learning....Heres what I tried
<%if Quantity ==> '10'>
But niether worked...
Any suggestions
Thanks,
Ian Galloway
I am using the <,> to determine if a number in my DB (quantity) is greater than or less than a certain number. Here is how I have it set
Code:
<%if Quantity > '10'> <%Quantity%>
<endif%>
<%if Quantity < '10'>
We have a short supply of this product, please contact our sales staff....
<%endif%>
Now it all works fine except if the quantity is 10, which then it just shows nothing. I know this may be simple but I am just learning....Heres what I tried
Code:
<%if Quantity => '10'> <%if Quantity ==> '10'>
But niether worked...
Any suggestions
Thanks,
Ian Galloway