php - Get a value from a echo json_encode -
i need echo json_encode($return); in model file using codeigniter
also need 1 value echoing in controller file phone call model.
is possible ? how can done ?
thank´s in advance
try :
echo json_encode(array("name"=>"test"));
http://php.net/manual/en/function.json-encode.php
php json codeigniter
No comments:
Post a Comment