我做错了什么?
//数据库已包含并已连接 $ con //将我连接到数据库
$sql = "SELECT getting_started.id, getting_started.title,getting_started.postdate,
getting_started_pro.id FROM getting_started INNER JOIN getting_started_pro ON
getting_started.id=getting_started_pro.id WHERE active = ? ORDER By id DESC";
$stmt = $con->prepare($sql);
$stmt->bind_param('i',$a=1);
我收到此错误=致命错误:在非对象上调用成员函数bind_param()