yes, I was echoing :) dumb me
- Original Message -
From: "David Harrison" <[EMAIL PROTECTED]>
To: "PHP General List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2001 8:33 PM
Subject: RE: [PHP] OT probably- Resource id# shows up in select box.
> P
t: Tuesday, January 30, 2001 8:31 PM
Subject: RE: [PHP] OT probably- Resource id# shows up in select box.
> > Pardon for the OT but what would cause "Resource id #"x to
> > show up in my select box from a select box populated from a database?
>
> You're probably echo()&
Probably printing the result of a DB call somewhere accidentally.
ie:
$dbh = mysql_connect($host,$user,$pass));
echo $dbh;
would do that.
--dave
> -Original Message-
> From: Chuck Barnett [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 31 January 2001 12:34 PM
> To: PHP General Li
> Pardon for the OT but what would cause "Resource id #"x to
> show up in my select box from a select box populated from a database?
You're probably echo()'ing your database connection resource, instead
of the actual value you've pulled from the database.
Jason
--
PHP General Mailing List (ht
4 matches
Mail list logo