Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

return json in php

//code igniter
$query="qry";
$query = $this->db->query($query);
$res=$query->result();
return json_encode($res);
Source by www.taniarascia.com #
 
PREVIOUS NEXT
Tagged: #return #json #php
ADD COMMENT
Topic
Name
2+4 =