Re: Fatal error help
| From: | Haseeb Iqbal | Date: | Wed, 19 May 2004 08:20:39 +0000 |
| Subject: | Re: Fatal error help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186519@lists.php.net to get a copy of this message | ||
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