From 9d6fe92dda7b22d7dd4be0cc71ae6c27234b94c6 Mon Sep 17 00:00:00 2001 From: lopar Date: Wed, 28 Feb 2018 23:25:33 +0200 Subject: [PATCH] tests --- admin/test.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/admin/test.php b/admin/test.php index 00ec425..4b9e02a 100644 --- a/admin/test.php +++ b/admin/test.php @@ -9,4 +9,9 @@ include '../config.php'; $row = db::c()->query('select * from `bank` WHERE owner=10929 OR owner=11221')->fetch_assoc_array(); print_r($row); echo '
'; -echo $row['5']['pass']; \ No newline at end of file +$row2 = db::c()->query('select * from `bank` WHERE owner=10929 OR owner=11221')->fetch_row_array(); +print_r($row2); +echo '
'; +$row3 = db::c()->query('select * from `bank` WHERE owner=10929 OR owner=11221')->fetch_object_array() +print_r($row3); +echo '
'; \ No newline at end of file