Re: note 90738 deleted from function.mysql-query by danbrown

From: Date: Thu, 07 May 2009 12:53:39 +0000
Subject: Re: note 90738 deleted from function.mysql-query by danbrown
References: 1 2  Groups: php.notes 
Request: Send a blank email to php-notes+get-154312@lists.php.net to get a copy of this message
Thanks, I wasn't sure if it was bad. :) Thiago Henrique Pojda http://nerdnaweb.blogspot.com On Thu, May 7, 2009 at 9:51 AM, <danbrown@php.net> wrote: > Note Submitter: marcandrebinder at googlemail dot com > > ---- > > You like vsptinf()? > > <?php > /** > * Runs a queryf();. > * > * @return mysqli_result > */ > public function queryf() { > $args = func_get_args(); > $qry = array_shift($args); > $args = array_map(array($this->_mysqliObject, 'real_escape_string'), > $args); > $qry = vsprintf($qry, $args); > $this->_mysqliQuerys[] = $qry; > return $this->_mysqliObject->query($qry); > } > ?> > > -- > PHP Notes Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.notes (#154312) next »