These are chat archives for codeigniter-id/codeigniter-id.github.io

26th
Nov 2016
Nur Intan Alatas
@Nurintaaan
Nov 26 2016 09:07
Hello my name is Nur intan and I need help, I'm stuck with databases in codeigniter
I have a question if i run this code :
$query = $this->db->get_where('travel_destination', array('city' => $city));
return $query->row_array();
what i get ? an associative array , two dimensional array or what ?
And how do i get all data in array without foreach loop ?