Re: No MySQL-Link resource supplied
| From: | Russ Michell | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: No MySQL-Link resource supplied | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9215@lists.php.net to get a copy of this message | ||
> Is anyone familiar with this error and what causes it (or better, how
> to fix it).
> Warning: No MySQL-Link resource supplied
> in /usr/local/apache/htdocs/sales/login.php on line 46
Go to: http://uk.php.net/manual/en/function.mysql-close.php,
it seems
as if mysql_close() does take some arguments, therefore the error
message: "Warning: No MySQL-Link resource supplied " means that php was
expecting arguments for mysql_close() and was given none.
HTH
Russ
On Thu, 10 May 2001 07:56:07 -0500 "Rankin, Randy"
<randy.rankin@smith-blair.com> wrote:
> Is anyone familiar with this error and what causes it (or better, how
> to fix it).
> Warning: No MySQL-Link resource supplied
> in /usr/local/apache/htdocs/sales/login.php on line 46
>
> Line 46 = mysql_close(); I cannot seem to find anything regarding this
> message in the MySQL or PHP manuals.
>
> Thanks in advance,
>
> Randy Rankin
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
#-------------------------------------------------------#
"Believe nothing - consider everything"
Russ Michell
Anglia Polytechnic University Webteam
e: r.j.michell@apu.ac.uk
w: www.apu.ac.uk/webteam
t: +44 (0)1223 363271 x 2331
www.theruss.com
#-------------------------------------------------------#