defines and mysql
| From: | David Fudge | Date: | Wed, 23 Jan 2002 19:25:06 +0000 |
| Subject: | defines and mysql | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16112@lists.php.net to get a copy of this message | ||
i've just found that php 4.1.1 on my linux box is having issues with defines
and mysql:
i have two defines,
define("DB", mysql_connect($host,$user,$pass));
define("DB2", mysql_connect($host2,$user2,$pass2));
what i'm finding is that when i open the second connection with a define my
page takes forever to load. it was not like this in previous versions of
php. when i use variables for DB and DB2 it works fine.
is this in php on purpose? or is this a bug? has anyone else encountered
problems like this?
d.