Converting from a PHP MySQL result object to a result resource (OO to procedural) -


i have been handling mysql database functions within php application using object oriented style. want use function requires result resource input variable have available result object statement

          $oresult = $odb->query($sql); 

is there way produce result resource object oriented style database connection ($dbconn = new mysqli (...))?

thanks you

you want provide resource result set (wrapper functions encapsulate database functions. i.e., numrows(), affectedrows(), etc.), in turn can provide record set iterate results if necessary.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -