Re: header()-question

From: Date: Tue, 03 Sep 2002 10:43:45 +0000
Subject: Re: header()-question
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-115007@lists.php.net to get a copy of this message
> Fatal error: Cannot redeclare createlinks() > (previously declared in c:\apache\htdocs\ha\recycle\lankar.php:6) in > c:\apache\htdocs\ha\recycle\lankar.php on line 5 > > The problem is: the call for the function createlinks() is done from > the previous page (index.php), the file where I user header(), and I > can't see that the function has bin called for yet. It doens't look like a "call" problem, but, as the message says, a redeclaration in file lankar.php. It looks like you have something like below in lankar.php at line 5 and 6. function createlinks() function createlinks() { ... } The function createlinks() has been defined more then once. You should check your include files. HTH Erwin

« previous php.general (#115007) next »