I want to update a table but i keep getting the error: Call to a member function bind_param() on boolean
What am i doing wrong? In my db setting looks like this:
'{"name":"Product Slider","product_name":"","product":["240","375","5555"],"limit":"5","width":"600","height":"400","loop":"1","auto":"1","pager":"1","pause":"3000","speed":"800","status":"1"}'
My attempt to update:
$sliderSql=$con->prepare("UPDATE oc_module SET setting = '{'name':'Product Slider','product_name':'','product':[?],'limit':'5','width':'600','height':'400','loop':'1','auto':'1','pager':'1','pause':'3000','speed':'800','status':'1'}' WHERE oc_module.module_id = 95");
$param="'".$calcSlider[0]."','".$laptopSlider[0]."','".$serverSlider[0]."'";
$sliderSql->bind_param("s",$param);