Re: Can we change default parameter of query()

From: Date: Sat, 23 Nov 2013 05:04:17 +0000
Subject: Re: Can we change default parameter of query()
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-322491@lists.php.net to get a copy of this message
Thanks you Sir. I got it. Sachin Raut On Sat, Nov 23, 2013 at 2:01 AM, Jim Lucas <lists@cmsws.com> wrote: > On 11/22/2013 11:00 AM, Sachin Raut wrote: > >> 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 >> >> > Checkout example three at the following link. > > http://www.php.net/manual/en/functions.arguments.php > > -- > Jim Lucas > > http://www.cmsws.com/ > http://www.cmsws.com/examples/ >

« previous php.general (#322491) next »