the link will be the link you set up to connect to mysql, or the resource id
as php refers to it (i think)

you'll have something like $link=mysql_connect(.......) as below

[example from manual]

<?php

    $link = mysql_connect ("localhost", "username", "secret")
        or die ("Could not connect");
    print ("Connected successfully");
    mysql_close ($link);

?>

Steve

> -----Original Message-----
> From: Rankin, Randy [mailto:[EMAIL PROTECTED]]
> Sent: 10 May 2001 13:56
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] No MySQL-Link resource supplied 
> 
> 
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: 
> [EMAIL PROTECTED]
> 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to