This commit is contained in:
lopar 2018-03-31 16:47:59 +03:00
parent dd1a87edf3
commit 7c811b089c

View File

@ -13,12 +13,12 @@ spl_autoload_register(function ($class_name) {
//showinf_pers(10736);
$row = db::c()->query('select * from `bank` WHERE owner=10929 OR owner=11221')->fetch_assoc_array();
print_r($row);
echo '<hr>';
$row2 = db::c()->query('select * from `bank` WHERE owner=10929 OR owner=11221')->fetch_row_array();
print_r($row2);
echo '<hr>';
#$row = db::c()->query('select * from `bank` WHERE owner=10929 OR owner=11221')->fetch_assoc_array();
#print_r($row);
#echo '<hr>';
#$row2 = db::c()->query('select * from `bank` WHERE owner=10929 OR owner=11221')->fetch_row_array();
#print_r($row2);
#echo '<hr>';
// Получить все...
$res = db::c()->query('SELECT * FROM users');