Hi:
I am working on a project that involves numbers, and, in this instance, Zero IS a legal number. That is, I want it to count (and show up!) Unfortunately, MySQL and/or Links thinks zero is nothing, and does not "count" it. What I mean is, see the following example of code from my tremplates:
<%if Issue%>
<B>Issue</B> # <%Issue%>
<%endif%>
This will print "Issue # XXX" for all numbers except zero. I am thinking that the "if Issue" statement does not return true for a zero.
Is there any work around anyone knows of?
TIA
dave
Big Cartoon DataBase
Big Comic Book DataBase
I am working on a project that involves numbers, and, in this instance, Zero IS a legal number. That is, I want it to count (and show up!) Unfortunately, MySQL and/or Links thinks zero is nothing, and does not "count" it. What I mean is, see the following example of code from my tremplates:
<%if Issue%>
<B>Issue</B> # <%Issue%>
<%endif%>
This will print "Issue # XXX" for all numbers except zero. I am thinking that the "if Issue" statement does not return true for a zero.
Is there any work around anyone knows of?
TIA
dave
Big Cartoon DataBase
Big Comic Book DataBase