> Arthur Barton wrote:
>
> if (isset(Score)) {
> etc
>
> as far as i can tell, the result should now work even when Score=0, however
> now it doesn't seem to work (get parsed) at all????
> would anyone have any idea's.
If appropriate, you may want to simply use:
if ($score >= 0) {
(note the '$' - did you leave that out in your code, or just your email?)
For some reason, isset() seems to return the same as if ($variable), which
will never be true if the $variable == 0.
- Jeff
-- [EMAIL PROTECTED] ----------------------------- http://www.slug.org.au/ --
linux.conf.au - coming to Sydney in January 2001
Installing Linux Around Australia - http://linux.org.au/installfest/
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug