diff --git a/safemysql.class.php b/safemysql.class.php index 2e1fe60..85e759b 100644 --- a/safemysql.class.php +++ b/safemysql.class.php @@ -221,7 +221,7 @@ public function getOne() * * Examples: * $data = $db->getRow("SELECT * FROM table WHERE id=1"); - * $data = $db->getOne("SELECT * FROM table WHERE id=?i", $id); + * $data = $db->getRow("SELECT * FROM table WHERE id=?i", $id); * * @param string $query - an SQL query with placeholders * @param mixed $arg,... unlimited number of arguments to match placeholders in the query