|
@@ -29,5 +29,5 @@ function test_function()
|
|
|
$return["favorite_restaurant"] = "McDonald's";
|
|
$return["favorite_restaurant"] = "McDonald's";
|
|
|
|
|
|
|
|
$return["json"] = json_encode($return);
|
|
$return["json"] = json_encode($return);
|
|
|
- echo json_encode($return);
|
|
|
|
|
|
|
+ echo $_GET['callback'] . '(' . json_encode($return ). ')';
|
|
|
}
|
|
}
|