lundi 6 mars 2017

How to get specific properties from a REST JSON response using Httpfull in PHP using search box with button

I want that i have a input box and button to search name when i enter name in the textbox and click on the button and on the same page it show his name,city ,zip code etc.Need Help . Thank You

 <?php    
 $url='my url';
 $res = \Httpful\Request::get($url)->expectsJson()->send();
 $data = json_decode($res,true);
 print_r($data);  ?>




Aucun commentaire:

Enregistrer un commentaire