Can we change default parameter of query()
| From: | Sachin Raut | Date: | Fri, 22 Nov 2013 19:00:50 +0000 |
| Subject: | Can we change default parameter of query() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-322489@lists.php.net to get a copy of this message | ||
Hi Friends,
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?
Thanks
Sachin Raut