Thread: PHP Login Class
View Single Post
Old 05-25-2009, 07:15 PM   #40 (permalink)
Sirupsen
The Contributor
 
Sirupsen's Avatar
 
Join Date: May 2009
Posts: 53
Thanks: 2
Sirupsen is on a distinguished road
Default

Thanks! This should surely learn me something about the use of classes, thanks for the comments in the code as well!

I've been looking through the code, and it all seems understandable! But, I have some trouble with this code:
PHP Code:
    catch(Exception $error) {
        print 
$error->getMessage();
    } 
What does it do? And where is "getMessage()" function defined?

Thanks. :)
Send a message via AIM to Sirupsen Send a message via MSN to Sirupsen Send a message via Yahoo to Sirupsen Send a message via Skype™ to Sirupsen
Sirupsen is offline  
Reply With Quote