$Uid, 'hash'=>$hashed, 'timestamp'=>$unix_time_stamp , 'job_id'=>$job_id) ); curl_setopt( $ch, CURLOPT_POSTFIELDS, $payload ); curl_setopt( $ch, CURLOPT_HTTPHEADER, array('Content-Type:application/json')); # Return response instead of printing. curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true ); # Send request. $result = curl_exec($ch); curl_close($ch); # Print response. //echo "
$result
";exit; $data2 = json_decode($result, TRUE); //echo "
";print_r($data2);echo "
"; $title=""; $location_city=""; $job_code=""; $location=""; $job_updated_timestamp=""; $designation=""; $experience=""; $location=""; $description=""; $salary_min=""; $salary_max=""; $salary_currency=""; $designation_code=""; $department=""; $employee_type=""; $hiring_lead_email=""; $total_positions=""; $company =""; $location_city_arr=array(); foreach ($data2 as $key => $item) { if($key=="title") $title= $item; if($key2=="job_id") $job_id= $item2; if($key2=="job_id") $job_id= $item2; if($key=="company") $company= $item; if($key=="designation") $designation= $item; if($key=="designation_code") $designation_code= $item; if($key=="experience") $experience= $item; if($key=="location") $location= $item; if($key=="description") $description= $item; if($key=="job_updated_timestamp") $job_updated_timestamp= $item; if($key=="salary_min") $salary_min= $item; if($key=="salary_max") $salary_max= $item; if($key=="salary_currency") $salary_currency= $item; $apply="https://gene.darwinbox.in/ms/candidate/careers/".$job_id."?apply=1"; $salary =$salary_min." - ".$salary_max." ".$salary_currency; if($key=="department") $department= $item; if($key=="employee_type") $employee_type= $item; if($key=="hiring_lead_email") $hiring_lead_email= $item; if($key=="total_positions") $total_positions= $item; if($key=="location_city") { $location_city_arr = explode(',', $item); $location_city_arr=array_unique($location_city_arr); $location_city = implode(',', $location_city_arr); //$location_city= $item; } // echo "
";echo "
";echo "
";echo "
"; } ?> Sudit K. Parekh & Co. LLP, Chartered Accountants, Mumbai, India
Location City
Department
Experience
Salary
Designation
Total Position
Employee Type
Job Description