mySQL/Linking Error - Anyone help?
| From: | m1nt ch3w | Date: | Mon, 07 Apr 2003 09:35:48 +0000 |
| Subject: | mySQL/Linking Error - Anyone help? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-19332@lists.php.net to get a copy of this message | ||
Hello list,
A friend and I are attempting to create a News Management Script.
I am using MySQL as a dbase.
All main variables are stored in a config.php file. Now, from the admin page, I link to the other pages like this:
<a href=?page=editnews>Edit/delete news<a>
When I try to access the other page though, I get this MySQL error:
Fatal error: Cannot redeclare func_mysqlconnect() in C:\apache\htdocs\myscripts\config.php on line 33
But if I access the file by typing it into the browser, it works. Any ideas as to what is going on? I am guessing it is the way my links are set up. If you need extra info, let me know.
Any help is appreciated.
Regards,
/m1nt