Many people on stackoverflow has had this problem, but i still cannot spot the mistake
This is the error:
Fatal error: Call to a member function bind_param() on boolean -
This is the lines of code:
$insertpost = $conn->prepare("INSERT INTO posts (title,post,user,img,date,short) VALUES(?,?,?,?,NOW(),?)");
$insertpost->bind_param("sssss",$title,$comment,$user,$url,$short);