note 119371 added to book.mysqli
| From: | A.Taeffner | Date: | Mon, 23 May 2016 15:43:48 +0000 |
| Subject: | note 119371 added to book.mysqli | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-205539@lists.php.net to get a copy of this message | ||
You might want to have a look at our EasyMySQLi-Library that provides an easy access to MySQL-DBs
utilizing MySQLi
You can find everything here:
https://git.firesplash.de/open-source/EasyMySQLi
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'];
?>
@Mods: Could you please delete the other post or edit it like this one? We changed the namespace
from open-source-php to more general open-source
----
Server IP: 72.52.91.14
Probable Submitter: 188.192.186.236
----
Manual Page -- http://php.net/manual/en/book.mysqli.php
Edit -- https://master.php.net/note/edit/119371
Del: integrated -- https://master.php.net/note/delete/119371/integrated
Del: useless -- https://master.php.net/note/delete/119371/useless
Del: bad code -- https://master.php.net/note/delete/119371/bad+code
Del: spam -- https://master.php.net/note/delete/119371/spam
Del: non-english -- https://master.php.net/note/delete/119371/non-english
Del: in docs -- https://master.php.net/note/delete/119371/in+docs
Del: other reasons-- https://master.php.net/note/delete/119371
Reject -- https://master.php.net/note/reject/119371
Search -- https://master.php.net/manage/user-notes.php