KH_json_objects - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of KH_json_objects.php

  1. <?php
  2. $jsonobj = '{"confirm_obj":[{"empEmail":"[email protected]","empConfEmail":"","vendEmail":"[email protected]","emp_member":"38","ven_member":"162","groupSelected":"17","orderId":"8583","jobskill":"2","vendor_group":"56","emp_signed_dt":"2020-06-03","ven_signed_dt":"2020-06-03","create_dt":"2020-06-03","update_dt":"2020-12-30","last_saved_by":"813","emp_sig_path":"grp_graphics/17/sig_kelli_douglas.png","ven_sig_path":"","emp_print_name":"Kelli Douglas","ven_print_name":"Kylie Rimer","emp_mem_title":"Divisional VP of Recruiting","ven_mem_title":"","empName":"Functional Pathways of Tennessee, LLC  ","empStreetAddress1":"10133 Sherrill Blvd","empStreetAddress2":"Suite 200","empCity":"Knoxville","empState":"TN","empZip":"37932","vendName":"Centra Healthcare Solutions","candidate_id":"59509","candidate_name":"Michelle Beaulieu","skillname":"OT","job_start":"                           06-15-2020","bidAmt":"62.00","job_end":"                           12-14-2020","otRate":"1.00","holRate":"1.00","guaranteed_hrs":"32","cancel_notice":"14 days","shift_dtl":"Days - No Float required","last_4":"0000","cand_contact":"[email protected]","ven_hr_name":"Jess Pena","ven_hr_email":"[email protected]","ven_hr_phone":"9542108013","time_off":"7/6/2020 - 7/13/2020","other_terms":"","facility_name":"","facilityid":"0","facility_addr":"575 Osgood St","facility_cityStZip":"North Andover, MA 01845","facility_phone":"978- 494-6876","facility_report_to":"Jake Scanlon, ADO","facility_report_time":"8am","dress_code":"Business casual/scrubs","name_tag":"Please provide","memType":"1","userLoggedOn":"813","email_conf":""}]}';
  3. $conf_obj_arr = json_decode($jsonobj,false);
  4.  
  5.  
  6.  
  7. echo "\n";
  8. print_r($conf_obj);
  9.  
  10.  
File Description
  • KH_json_objects
  • PHP Code
  • 04 Jan-2021
  • 1.69 Kb
You can Share it: