admin/application/controllers/Admin.php
//Sebelum menambah soal, ubah settingan maximum file upload pada php.ini
Sebelum menambah soal, ubah settingan maximum file upload pada php.ini
Sebelum menambah soal ubah settingan maximum file upload pada php . ini
public function tambahsoal()
	{
		$data['title'] = 'Tambah Soal';
		$data['listmapel'] = $this->m_admin->list_mapel()->result();
		$data['listkelas'] = $this->m_admin->list_kelas()->result();
		$data['listguru'] = $this->m_admin->list_guru()->result();
		$this->header($data);
		$this->load->view('tambahsoal');
		$this->load->view('template/footer');
	}
public function tambahsoal ( ) { $ data [ 'title' ] = 'Tambah Soal' ; $ data [ 'listmapel' ] = $ this -> m_admin -> list_mapel ( ) -> result ( ) ; $ data [ 'listkelas' ] = $ this -> m_admin -> list_kelas ( ) -> result ( ) ; $ data [ 'listguru' ] = $ this -> m_admin -> list_guru ( ) -> result ( ) ; $ this -> header ( $ data ) ; $ this -> load -> view ( 'tambahsoal' ) ; $ this -> load -> view ( 'template/footer' ) ; }
Sebelum menambah soal, ubah settingan maximum file upload pada php.ini
Sebelum menambah soal ubah settingan maximum file upload pada php . ini