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

c# - BasicHttpBinding equivalent CustomBinding using WCF Client and PHP WebService -

android - Cannot use ndk-build on Cygwin -

sql server - python to mssql encoding problem -