battles/admin/test.php

22 lines
632 B
PHP
Raw Normal View History

2018-01-28 16:40:49 +00:00
<?php
include '../config.php';
2018-03-01 14:51:01 +00:00
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();
2018-02-28 21:18:32 +00:00
print_r($row);
echo '<hr>';
2018-02-28 21:25:33 +00:00
$row2 = db::c()->query('select * from `bank` WHERE owner=10929 OR owner=11221')->fetch_row_array();
print_r($row2);
echo '<hr>';
2018-02-28 21:26:14 +00:00
$row3 = db::c()->query('select * from `bank` WHERE owner=10929 OR owner=11221')->fetch_object_array();
2018-02-28 21:25:33 +00:00
print_r($row3);
2018-03-01 14:51:01 +00:00
echo '<hr>';
2018-03-01 16:56:17 +00:00
$obj = new nick(11221); print_r($obj);
echo '<hr>';
2018-03-01 16:57:06 +00:00
$obj2 = new nick(11221,0);print_r($obj2);