Re: database

From: Date: Tue, 28 Oct 2003 00:44:14 +0000
Subject: Re: database
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-167816@lists.php.net to get a copy of this message
alain dhaene wrote:
I have try but I get the following error: Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/schoolre/public_html/Hitek/Online/connectie.php on line 16 Alain <snip>
Look here.... http://us4.php.net/manual/en/language.variables.scope.php Your $link only has the scope of that function. You can either pass it to the function, or put this line inside of your function.... global $link; -- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#167816) next »