Re: What's wrong with this code?
| From: | ajh | Date: | Mon, 26 Mar 2001 16:03:14 +0000 |
| Subject: | Re: What's wrong with this code? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7828@lists.php.net to get a copy of this message | ||
> Hi,
>
> I really need help, I wrote a function so that I can
> call for db user/password in an include file. It looks
> like this:
Are you calling the include file twice? This isn't a db problem, the
code snippet is fine.
> Fatal error: Cannot redeclare db_connect() in
> /www/affiliate/include/functions.inc on line 7.