Create a gist now

Instantly share code, notes, and snippets.

@jhowbhz /pagina.php
Last active Jun 22, 2018

Embed
Exemplo F7/JSON/PHP
<?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