Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Making Zero Count

Quote Reply
Making Zero Count
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
Subject Author Views Date
Thread Making Zero Count carfac 3014 Feb 18, 2004, 9:02 AM
Thread Re: [carfac] Making Zero Count
Andy 2934 Feb 18, 2004, 9:19 AM
Thread Re: [Andy] Making Zero Count
carfac 2940 Feb 18, 2004, 9:27 AM
Thread Re: [carfac] Making Zero Count
Andy 2944 Feb 18, 2004, 9:28 AM
Thread Re: [Andy] Making Zero Count
carfac 2942 Feb 18, 2004, 9:46 AM
Thread Re: [carfac] Making Zero Count
Gypsypup 2920 Feb 18, 2004, 11:04 AM
Thread Re: [Gypsypup] Making Zero Count
carfac 2931 Feb 18, 2004, 11:12 AM
Thread Re: [carfac] Making Zero Count
Gypsypup 2924 Feb 18, 2004, 11:16 AM
Thread Re: [Gypsypup] Making Zero Count
Andy 2917 Feb 18, 2004, 11:25 AM
Post Re: [Andy] Making Zero Count
Gypsypup 2921 Feb 18, 2004, 11:28 AM
Post Re: [carfac] Making Zero Count
Andy 2914 Feb 18, 2004, 11:32 AM