Example #1
0
 function updateexperience($_post)
 {
     $profile = new Workexperience($this->getUser()->id);
     return $profile->update($_post);
 }
Example #2
0
 function updateexperience($_post)
 {
     $user->id = $this->getuser();
     $profile = new Workexperience($user->id);
     return $profile->update($_post);
 }
Example #3
0
<?php

include_once "../../../../../../libraries/aces/models/experience.php";
// echo json_encode($filter);
$_POST['id'] = $_POST['id'];
$_POST['userid'] = $_POST['userid'];
$_POST['position'] = $_POST['position'];
$_POST['company'] = $_POST['company'];
$_POST['joblocation'] = $_POST['joblocation'];
$_POST['jobdetail'] = $_POST['jobdetail'];
$_POST['jobstartd'] = $_POST['jobstartd'];
$_POST['jobstart'] = $_POST['jobstart'];
$_POST['jobendd'] = $_POST['jobendd'];
$_POST['jobend'] = $_POST['jobend'];
$_POST['current'] = $_POST['current'];
$wex = new Workexperience();
$data = $wex->update($_POST);
echo json_encode($data);
// echo json_encode($_POST);
// foreach($data as $edudata){
// echo json_encode($edudata);
// }