header('Content-type: application/json');
Hocam şimdi ben şöyle bir kod buldum;
$json = array();
$json['contacts'][] = array(
'id'=> "c200",
'name'=> "Ahmet Talut",
'email'=> "wpeklentim@gmail.com",
'address'=>"Adres",
'gender'=> "Erkek",
'phone' => array(
'mobile'=> "23424324",
'home'=> "43242342",
'office'=> "",
));
echo json_encode($json);
?>
istediğim gibi oluyor ancak yine de hata veriyor veri çekmiyor http://api.androidhive.info/contacts/index.php bu adres ile benim kodlarımın farkı nedir?