I have one php page that does a query to a db and displays a list I have an include file that does a query and displays dropdown boxes on the first page. In both files I have an included that points to config.php which has the connection information on it. When I uninclude the second drop down list from the first page the first page works if I include it I get this message:
Cannot redeclare db_connect() (previously declared in /usr/www/users/mc/unctions/config.php:13) in <b>/usr/www/users/mc/functions/config.php on line 11
What am I doing wrong?
Cannot redeclare db_connect() (previously declared in /usr/w
Moderator: General Moderators
-
mccommunity
- Forum Commoner
- Posts: 62
- Joined: Mon Oct 07, 2002 8:55 am
-
bionicdonkey
- Forum Contributor
- Posts: 132
- Joined: Fri Jan 31, 2003 2:28 am
- Location: Sydney, Australia
- Contact: