-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
* and then Erik Price declared.... > Hm. I can't answer your question, but I'd like to ask you one. I've > been using 'return 1' or 'return 0' in my function calls -- is there an > advantage to using 'TRUE' or 'FALSE' rather than numbers? In other > words, why did you choose to do it the way you did? The only advantage I see is being able to do something like if($myfunc()) { print("true"); } else print("false"); Which is quite tidy. I think I've caught the problem BTW, I switched from testing with if/else to a switch statement. Which says I was testing incorrectly (not that I ever worked out why) Cheers... - -- Nick Wilson Tel: +45 3325 0688 Fax: +45 3325 0677 Web: www.explodingnet.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8aVuKHpvrrTa6L5oRAtnOAKCJTNquM8PgSB/87BKNWkhrYrOd7QCfaGO3 XUyTl7rVOYf9cYMbdbptm6I= =yv7c -----END PGP SIGNATURE----- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php