Req #63799 [NEW]: Make interface for prepared statements easier

From: Date: Tue, 18 Dec 2012 21:27:07 +0000
Subject: Req #63799 [NEW]: Make interface for prepared statements easier
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-175440@lists.php.net to get a copy of this message
From: thbley at gmail dot com Operating system: win7 x64 PHP version: 5.5.0alpha1 Package: MySQLi related Bug Type: Feature/Change Request Bug description:Make interface for prepared statements easier Description: ------------ Please offer an easier interface to run prepared statements, e.g. $db = new mysqli_db('127.0.0.1', 'root', 'some_pw', 'test'); foreach ($db->query('select * from bla where someint=? and somechar=?', MYSQLI_STORE_RESULT, [10, 'hello_world']) as $row) {...} -- Edit bug report at https://bugs.php.net/bug.php?id=63799&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63799&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63799&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63799&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63799&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63799&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63799&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63799&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63799&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63799&r=support Expected behavior: https://bugs.php.net/fix.php?id=63799&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63799&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63799&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63799&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63799&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63799&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63799&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63799&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63799&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63799&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63799&r=mysqlcfg

« previous php.bugs (#175440) next »