From 32ec931a63a86e13ba393440bf4ba7a567022d58 Mon Sep 17 00:00:00 2001 From: Neku Date: Tue, 17 Dec 2013 01:57:09 +0100 Subject: Update core.php --- moe/includes/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moe/includes/core.php b/moe/includes/core.php index cf77837..b5b9c30 100644 --- a/moe/includes/core.php +++ b/moe/includes/core.php @@ -44,7 +44,7 @@ function search ($word) { global $db; $str = "%".$word."%"; if($_SESSION['level'] === '1'){ - $do = $db->prepare("SELECT orginalname, filename FROM files WHERE orginalname LIKE (:1) OR filename LIKE (:2)"); + print $row['orginalname'].' - '.$row['filename'].' Delete
'; $do->bindParam(':1', $str); $do->bindParam(':2', $str); $do->execute(); -- cgit v1.2.3