RE: [PHP] OOB problem, super stumped. (resolved)
| From: | Richard Lynch | Date: | Wed, 30 May 2007 18:11:02 +0000 |
| Subject: | RE: [PHP] OOB problem, super stumped. (resolved) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-255837@lists.php.net to get a copy of this message | ||
On Tue, May 29, 2007 10:07 pm, Brian Seymour wrote:
> Strangely enough the only thing that was wrong was:
>
> $this->result=mysql_query($query, $this->conx);
>
> I removed $this->conx so it looked like
>
> $this->result=mysql_query($query);
Put that back!!!
Otherwise, when you add some *OTHER* class/pacakage that uses some
other MySQL connection, you'll end up using their connection and not
your connection, as mysql_* uses the last-opened connection by
default.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?