Re: Fatal error help
| From: | robi | Date: | Wed, 19 May 2004 08:36:40 +0000 |
| Subject: | Re: Fatal error help | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186520@lists.php.net to get a copy of this message | ||
thanks
it helped
troby
> the class you are defining is already or the file in which you have defined
> the class in somehow included twice..
> consider using require_once for you class include file.
>
> HTH,
> Haseeb
> ----- Original Message -----
> From: "robi" <rtoth@ax.sk>
> To: <php-general@lists.php.net>
> Sent: Wednesday, May 19, 2004 1:15 PM
> Subject: [PHP] Fatal error help
>
> > hello
> > I am programing a simple chat and I am using my own classes
> > and I get this error I have no idea what it is.
> > pls help.
> >
> > Fatal error: Cannot redeclare class ch in /var/www/html/class/common.php
>
> on
>
> > line 3
> >
> > troby
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php