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.univ-orleans.fr #
 
PREVIOUS NEXT
Tagged: #return #json #php
ADD COMMENT
Topic
Name
6+9 =