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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to