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);