$query1 = "UPDATE datastore SET data=REPLACE(data,'\"bbactive\";i:0;','\"bbactive\";i:1;') WHERE title='options'";
$query1 = "UPDATE " . TABLE_PREFIX . "datastore SET data=REPLACE(data,'\"bbactive\";i:0;','\"bbactive\";i:1;') WHERE title='options'";