File Name ↓ | File Size ↓ | Date ↓ |
---|---|---|
Parent directory/ | - | - |
sha1sum | 448 B | 2015-Jun-09 03:14 |
EDB-1.0.0.tgz | 5.7 KiB | 2012-Sep-02 04:49 |
EDB-2.0.1.tgz | 18.4 KiB | 2012-Oct-17 02:58 |
EDB-2.0.2.tgz | 18.5 KiB | 2013-Feb-08 03:29 |
EDB-2.0.3.tgz | 18.6 KiB | 2013-Apr-22 17:07 |
EDB-2.0.0.tgz | 19.1 KiB | 2012-Oct-14 04:35 |
EDB-2.0.4.tgz | 19.3 KiB | 2013-Aug-18 21:48 |
EDB-2.0.5.tgz | 19.9 KiB | 2014-Jan-25 17:20 |
EDB-2.0.6.tgz | 20.2 KiB | 2015-Jun-09 03:10 |
<?php require_once 'EDB.php'; $db = new EDB ( 'mysqli://localhost:/var/run/mysqld/mysql.sock', 'user', 'pwd', 'dbname' ); $db->set_charset ('utf8'); // only mysql (SET NAMES utf8;) $rno = $db->query ('SELECT * FROM edb_test WHERE num > ?', 'i', 0); $r = $db->fetch_all (); $db->free_result (); print_r ($r); ?>
각 DB에 대한 예제는 http://svn.oops.org/wsvn/PHP.pear_EDB/trunk/tests/를 참고 하십시오.
Installation:shell> pear channel-discover pear.oops.org shell> pear install oops/EDB shell> pear list -a