View difference between Paste ID: RtWh3YKQ and TQiJwXcn
SHOW: | | - or go back to the newest paste.
1-
foreach($this->input->post('rsetup') as $cf)
1+
foreach($_POST['rsetup']) as $cf)
2-
			{
2+
{
3-
				foreach($this->input->post('rtype') as $cf1)
3+
				foreach($_POST['rtype'] as $cf1)
4
				{
5
					$addData2 = array(
6
						'fo_reservation_kode' => $this->db->escape_str($this->input->post('kode')),
7
						'fo_reservation_room' => $cf,
8
						'md_rooms_rtype_id' => $cf1
9
					);					
10
				}
11
				$this->icapps_model->saveData($this->dataTable2, $addData2);
12
			}