22 lines
632 B
PHP
22 lines
632 B
PHP
<?php
|
|
include '../config.php';
|
|
include_once '../classes/nick.php';
|
|
//include '../functions.php';
|
|
|
|
//showinf_pers(10736,1);
|
|
|
|
//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>';
|
|
$row3 = db::c()->query('select * from `bank` WHERE owner=10929 OR owner=11221')->fetch_object_array();
|
|
print_r($row3);
|
|
echo '<hr>';
|
|
|
|
$obj = new nick(11221); print_r($obj);
|
|
echo '<hr>';
|
|
$obj2 = new nick(11221,0);print_r($obj2); |