mysql - PHP insert data in database -
i've save function in php
$post = $this->request->post('event'); $events = orm::factory('tasks_manage')->values(); try { $return = array(); foreach ($events $event) { $title = $event['name']['taskname']; $time = $event['time']; $return[] = $event; $event->save(); } return array( 'return' => $return;
data, existing in headers array in response empty. please help
$conn->insert('user', array('username' => 'jwage'));
// insert user (username) values (?) (jwage)
Comments
Post a Comment