hmmm, well... If I could see the code I could probably fix it for you, the problem is everything changes depending on the context it's used and how the class is setup. For example, it's poor practice to assign values to vars when you declare them... It is recommended you assign them inside the class constructor. If you have no idea what I'm talking about with constructors and whatnot, check out a tutorial on OOP or classes... www.codewalkers.com I believe has a good one. I'd give you the link but my comp is messed right now. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php