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