Answers for "get results from db and put in javascript array codeigniter"

0

get results from db and put in javascript array codeigniter

$query = $this->db->query("YOUR QUERY");

foreach ($query->result_array() as $row)
{
        echo $row['title'];
        echo $row['name'];
        echo $row['body'];
}
Posted by: Guest on July-05-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language