I am trying to use new PDO class, and once i tried to use the function insert I got a notice and I am lost .
The Notice :
Notice: Array to string conversion in
The line :
$id = $db->insert('users', array("name" => "namei"));
The class is : https://github.com/tommyknocker/pdo-database-class
If anyone have better pdo class I glad.