rocketphp / mysqli
Prepared statements - implements MySQLi client.
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: >=5.5
Requires (Dev)
- phpdocumentor/phpdocumentor: 2.*
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2025-02-19 12:10:37 UTC
README
RocketPHP\MySQLi
uses the MySQL Improved Extension to perform queries on a MySQL database via prepared statements.
To perform a query on a database – start with an instance of MySQLi and use the select, insert, update, update many and delete query methods.
use RocketPHP\MySQLi\MySQLi; $mysqli = new MySQLi([ 'hostname' => 'localhost', 'username' => 'root', 'password' => '', 'database' => 'example_db', 'port' => null, ]); $sql = "SELECT * FROM table_name WHERE column_name = ?"; $values = array('column_value'); $fmt = array('%s'); $result = $mysqli->select($sql, $values, $fmt);
- File issues at https://github.com/rocketphp/mysqli/issues
- Documentation is at http://rocketphp.io/mysqli