Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- USER SAVED IN DB.{"user":{"_token":"9ylCAviuuCaNlCtXNya5pEXkY8vkJepZAohsG5VI","submit":"engageiq_post_data","affiliate_id":"","campaign_id":"","offer_id":"","s1":"","s2":"","s3":"","s4":"","s5":"","address":"","phone1":"","phone2":"","phone3":"","phone":"","source_url":"http://pfr_laravel.dev/registration","ip":"192.168.10.1","screen_view":"1","first_name":"fff","last_name":"ff","email":"r@yahoo.com","zip":"00501","birthdate":"","dobmonth":"04","dobday":"12","dobyear":"1965","gender":"M","chk_agree":"","submitBtn":"Submit","state":"NY","city":"Holtsville","revenue_tracker_id":1},"revenue_tracker_id":1,"path_type":2,"campaigns":[[1,15,25,48,38,23,44],[245],[249],[27,4,19,181,18],[16],[246],[51,52,151],[10],[26,2,185,180,45,184,182]],"creatives":[]}
- json_decode($myjson, true)
- if (path_type == 2){}
- $myjson = substr($myjson, 17); // remove bulk from JSON
- $data = json_decode($myjson, true);
- if ($data['path_type'] == 2) {
- // code
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement