For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > November 2004 > Extending the MySQLi_Result object?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Extending the MySQLi_Result object?
Joe Bandenburg

2004-11-08, 3:55 pm

Hi there,

It's my first post here, so go gentle.

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? :)

Thanks,
Joe Bandenburg
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com