note 119181 added to book.mysqli
| From: | (darkalex) | Date: | Sat, 16 Apr 2016 19:56:07 +0000 |
| Subject: | note 119181 added to book.mysqli | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-205245@lists.php.net to get a copy of this message | ||
You might want to have a look at our EasyMySQLi-Library that provideas an easy access to MySQL-DBs
utilizing MySQLi
You can find everything here:
https://git.firesplash.de/open-source-php/EasyMySQLi
(If you want to delete this link okay it's just there to help.)
Basicly it's an extension to mysqli that provides easy access methods like this:
<?php
require_once 'EasyMySQLi.inc.php';
$db = new EasyMySQLi('host', 'user', 'pass', 'DB');
$ary = $db->querySingleRow('SELECT * FROM exampletbl WHERE id > ?', 158);
echo 'Example-Value is'.$ary['val'];
?>
----
Server IP: 72.52.91.14
Probable Submitter: 2a02:810d:82c0:dec:4591:97bf:c1d0:cf83
----
Manual Page -- http://php.net/manual/en/book.mysqli.php
Edit -- https://master.php.net/note/edit/119181
Del: integrated -- https://master.php.net/note/delete/119181/integrated
Del: useless -- https://master.php.net/note/delete/119181/useless
Del: bad code -- https://master.php.net/note/delete/119181/bad+code
Del: spam -- https://master.php.net/note/delete/119181/spam
Del: non-english -- https://master.php.net/note/delete/119181/non-english
Del: in docs -- https://master.php.net/note/delete/119181/in+docs
Del: other reasons-- https://master.php.net/note/delete/119181
Reject -- https://master.php.net/note/reject/119181
Search -- https://master.php.net/manage/user-notes.php