Date: Mon, 19 Jun 2000 10:50:00 -0400
From: Chris Moyer <cmoyer@chekinc.com>
To: php-db@list.php.net
Subject: Re: [PHP-DB] Help! Can't "select" db after uploading file from multi-part form
Message-ID: <20000619105000.B3567@chekinc.com>
Reply-To: cmoyer@chekinc.com
Mail-Followup-To: php-db@list.php.net
References: <43B7B6A0C022D41193890008C7E61D7859ED8D@mxmail.rx.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <43B7B6A0C022D41193890008C7E61D7859ED8D@mxmail.rx.com>; from cjrom@rx.com on Mon, Jun 19, 2000 at 10:41:55AM -0500

On Mon, Jun 19, 2000 at 10:41:55AM -0500, CJ Romberger wrote:
 Here is the error I get:
> Warning: 1 is not a MySQL link index in
> /home/eboing/eboing-www/address_book/upload_test_3.php3 on line 35
> cannot select

Well, the problem is that you are not acutally passing a valid link identifier
to the sql call on line 35.  Most likely, you have the mysql_connect() call somewhere
in an if-block that isn't called if you upload.

-- Chris Moyer --  cmoyer@chekinc.com -- 
      PHP Developer --  Chek.com  
