コード例 #1
0
ファイル: ajax.php プロジェクト: AlencarGabriel/Json.PHP
<?php

include "lib/json.php";
$jsonAntigo = $json;
$json = new Json();
$json->sugestoes = array();
$json->sugestoes[] = $jsonAntigo->name . " 1";
$json->sugestoes[] = $jsonAntigo->name . " 2";
$json->sugestoes[] = $jsonAntigo->name . " 3";
$json->sugestoes[] = $jsonAntigo->name . " 4";
$json->sugestoes[] = $jsonAntigo->name . " 5";
$json->send();