my Controller:
Код: Выделить всё
$database = array(
'last_location' => $url[5]."-".$url[6],
'last_date_location' => $url[3]." ".$url[4],
);
$user = $this->API_model->get_user($url[0]);
print_r($user);
if ($this->db->update('user', $database, $user['id']) === true) {
print_r($database);
echo "MEI_TRUE";
} else {
echo "MEI_FALSE";
}
Что было в проблеме?>
Подробнее здесь: https://stackoverflow.com/questions/445 ... ate-method
Мобильная версия