[PHP] Error Handling

2005-09-09 Thread Chuck Brockman
What is a good way to capture errors that occur. I've tried the following code in development, but it still spits out an error (Parse error: syntax error, unexpected '}', expecting ',' or ';' in X:\\\.php on line 7) Thanks. -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] Object Scope

2005-09-06 Thread Chuck Brockman
What is the best practice for calling objects that are to be used throughout a users site visit. For example, I have a members class with two classes that extend this class. Is it best to instantiate the object in the $_Session scope or make individual calls to the class/object. For example: cl

[PHP] Class/Function Query Call Problem

2005-07-21 Thread Chuck Brockman
I'm creating a psuedo mail/message app for users to send messages to one another. For this, I've created a parent class, class.members.php, and an extended class, class.mail.php. The problem I'm having is when I make page which calls the classes members and memberMail creates an infite loop; how