Page 1 of 1

Cannot redeclare db_connect() (previously declared in /usr/w

Posted: Sun Oct 19, 2003 9:20 pm
by mccommunity
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?

Posted: Sun Oct 19, 2003 10:50 pm
by bionicdonkey
use include_once() or require_once()