Am Di, den 16.11.2004 schrieb Joe Bandenburg um 21:15:
> i there,
> It's my first post here, so go gentle.

It's your 2nd post - you sent the same post one Nov. 8th, but I was on a
conference and not able to answer :)
> I have run into a problem when trying to extend the MySQLi_result object 
> because the MySQLi object's method "query" always returns a 
> MySQLi_result and, to my knowledge, it is impossible to make it do 
> otherwise. So, my question is, how do I alter the "query" method to 
> return my new MySQLi_result object instead of the base object? Or, is 
> there another/better way of achieving what I'm looking for? Am I missing 
> something very obvious here? :)

Currently mysqli_result has no default constructor, and I still don't
know how to implement a good solution for, cause beside mysql_query
there is also mysql_store_result and mysql_use_result which returns a
mysqli_result object.

Also mysqli_stmt object isn't really extendable.

We are working on a solution for PHP 5.1 now (which will be released
next year).

Georg Richter, Senior Software Developer

Are you MySQL certified?

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to