Someone
public text v1 · immutable $query = "INSERT INTO `carcomment` (`comment`,`commenttype_id`,`car_id`) VALUES ('" .
$comment['Carcomment']['comment'] . "', " .
$comment['Carcomment']['commenttype_id'] . "," .
$comment['Carcomment']['car_id'] . ")";
$this->Carcomment->query($query);