Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $data = stripslashes(file_get_contents("php://input"));
- $get_data = json_decode($data);
- $value1 = $get_data->{'part_no'};
- $data = stripslashes(file_get_contents("php://input"));
- $get_data = json_decode($data);
- $value2 = $get_data->{'item_no'};
- $data = file_get_contents("php://input");
- $get_data = json_decode($data);
- $value1 = $get_data->part_no ?? null;
- $value2 = $get_data->item_no ?? null;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement