From 7a890aaa3fd8b960000d590b30c4a2eb8dc4ccaa Mon Sep 17 00:00:00 2001 From: in4s <28087198+in4s@users.noreply.github.com> Date: Mon, 15 Jul 2019 17:14:53 +0300 Subject: [PATCH] close #60 --- safemysql.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safemysql.class.php b/safemysql.class.php index 4296d65..b21141b 100644 --- a/safemysql.class.php +++ b/safemysql.class.php @@ -47,7 +47,7 @@ * Some examples: * * $name = $db->getOne('SELECT name FROM table WHERE id = ?i',$_GET['id']); - * $data = $db->getInd('id','SELECT * FROM ?n WHERE id IN ?a','table', array(1,2)); + * $data = $db->getInd('id','SELECT * FROM ?n WHERE id IN (?a)','table', array(1,2)); * $data = $db->getAll("SELECT * FROM ?n WHERE mod=?s LIMIT ?i",$table,$mod,$limit); * * $ids = $db->getCol("SELECT id FROM tags WHERE tagname = ?s",$tag);