PHP or MySql error; Possible to display an "error page" in browser?
        Posted  
        
            by Camran
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Camran
        
        
        
        Published on 2010-05-17T14:21:17Z
        Indexed on 
            2010/05/17
            14:30 UTC
        
        
        Read the original article
        Hit count: 251
        
My classifieds website uses mainly PHP and MySql.
On error, (for example if a variable isn't found), I would like to have an error-page to show, is this possible? And I mean for every error to point to the same error-page.
I am thinking about htaccess, but maybe there are other ways also?
Same with MySql, how is it done there?
Thanks
© Stack Overflow or respective owner