can I just point out that, being a student myself it is sometimes toooo time consuming to wad through loads of books etc to find a problem, so posting a question to the knowledgable ones is sometimes a better option, and much quicker. At the end of the day, we will learn the problem via both solutions. Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php