top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

Can we change default parameter of query() in PHP

+3 votes
50 views

query(sqlquery, resultmode) function accepts 2 parameters.
1st parameter is SQL query to be passed to database.
2nd parameter resultmode is optional.

resultmode accepts 2 values

1.MYSQLI_STORE_RESULT (default value)
2.MYSQLI_USE_RESULT

Is it possible to make "MYSQLI_USE_RESULT" as default value for resultmode?

posted Nov 22, 2013 by Garima Jain

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

Checkout third example at the following link.
http://www.php.net/manual/en/functions.arguments.php

answer Nov 22, 2013 by Sheetal Chauhan
Similar Questions
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...