Dan Joseph wrote:

You don't have a ; at the end of the line. You have $this->db =
$db and you should have $db;.

Also, this:

> Function doquery($query, $db = $this->db){

is causing your error. The default value must be a constant expression, not a variable, function, method, etc...

--

---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

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



Reply via email to