0

こんにちは、次の挿入があります。

$full_pjt_save = array(
        'img_copertina' => $this->input->post('copertine'),
        'physical_already' => $this->input->post('physical_already'),
        'physical_format_product' => $this->input->post('formato_fisico'),
        'physical_format' => $this->input->post('physical_format'),
        'physical_format_vinile' => $this->input->post('formato_vinile'),
        'physical_boxqty' => $this->input->post('physical_boxqty'),
        'physical_tot_time' => $this->input->post('physical_tot_time'),
        'physical_qty' => $this->input->post('physical_qty'),
        'sale_price' => $this->input->post('sale_price'),
        'keywords' => $this->input->post('keywords'),
        'descrizione' => $this->input->post('descrizione'),
        'durata' => $this->input->post('durata'),
        );

$added_fields = $full_pjt_save+array('last_mod' => time());
$this->db->where('id_acquisto', $this->input->post('id_acquisto'));
$save_full_pjt_to_db = $this->db->update('progetti_'.$pjt_table, $added_fields);
$pjt_table_id = $this->db->insert_id();

これは正常に動作しますが、「formato_vinile」がこれであるドロップダウン項目があります:

45 Giri (7" Singolo, 45 Giri)

ただし、二重引用符の後に db カットに挿入されます。

45 Giri (7

それを完全に書く方法はありますか?

4

2 に答える 2