I got an error of :
Call to a member function bind_param() on a non-object
in below code, I have no idea what's wrong, everything seem just fine for me.
$stmt = $db->prepare("INSERT INTO list(title,
topicDesc,date,kod,country) VALUES (?, ?, ?, ?, ?)");
$stmt->bind_param('sssis', 'yo','yo desc','1 may 2015,','123','US');