[PHP-DB] [PDO] Cannot execute queries while other unbuffered queries are active

2008-03-23 Thread Fabian Golle
; return true; } $link is defined as: protected $link = false; But I still get the damn error-message. What's going wrong here? Other possibilities, ex. Adding the MYSQL_ATTR_USE_BUFFERED_QUERY to "new PDO()" or adding it to "prepare($query)" doesn't

[PHP-DB] Prevent global usage of last MySQL-Connection?!

2008-03-22 Thread Fabian Golle
Hey, First of all: My name is Fabian Golle and I'm new to this newsgroup. I'm 16 years old and from Hanau (Germany). I'm currently a student and in my free-time I'm developing Web-Applications. Here's my problem: I've got a class for the Account-System of my