Last active
May 30, 2023 15:00
-
-
Save jhowbhz/2e0dea3396eb119680b9a0432adade2f to your computer and use it in GitHub Desktop.
Exemplo F7/JSON/PHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Access-Control-Allow-Origin: *'); // no cabeçalho | |
$array = array ('test1', 'test2', 'test3'); | |
echo json_encode ($ array); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment