note 74149 added to function.vprintf

From: Date: Tue, 27 Mar 2007 16:42:48 +0000
Subject: note 74149 added to function.vprintf
Groups: php.notes 
Request: Send a blank email to php-notes+get-124853@lists.php.net to get a copy of this message
This function comes useful sometimes when trying to list information returned from MySQL: function print_sql($query,$printf){ $sql_sql = mysql_query($query); while($sql = mysql_fetch_row($sql_sql)){ vprintf($printf,$sql); } } Unfortunately, this seems to sneak its way past output buffering when I tried creating an argument to allow it to be contained in a returned string... either that or I didn't do it right. ---- Server IP: 69.147.83.197 Probable Submitter: 74.138.216.156 ---- Manual Page -- http://www.php.net/manual/en/function.vprintf.php Edit -- https://master.php.net/note/edit/74149 Del: integrated -- https://master.php.net/note/delete/74149/integrated Del: useless -- https://master.php.net/note/delete/74149/useless Del: bad code -- https://master.php.net/note/delete/74149/bad+code Del: spam -- https://master.php.net/note/delete/74149/spam Del: non-english -- https://master.php.net/note/delete/74149/non-english Del: in docs -- https://master.php.net/note/delete/74149/in+docs Del: other reasons-- https://master.php.net/note/delete/74149 Reject -- https://master.php.net/note/reject/74149 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124853) next »