RD> As that code stands, even with register globals on, it will not echo RD> 22. At least on PHP 4.3.11 on my server this is the case. I guess RG RD> makes all variables global, but not super-global, which leaves the RD> above safe as the null of $total overrides whatever may have been set. Err, replace $total with $first in my comment above. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services "I do not fear computers. I fear the lack of them." - Isaac Asimov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php