Welcome Guest, Not a member yet? Register   Sign In
Ajax output problem
#4

I suggest you to make it work without ajax, and then implement ajax version. 


1. 
PHP Code:
       foreach ($query->result_array() as $row)
 
       {
 
           $data[] = $row;
 
       
I did not understand why dont u use $data = $query->result_array(); this way.

2.
in your javascript code start your index i from 0;
Reply


Messages In This Thread
Ajax output problem - by falcon812311 - 03-26-2017, 05:09 AM
RE: Ajax output problem - by Wouter60 - 03-26-2017, 05:33 AM
RE: Ajax output problem - by falcon812311 - 03-26-2017, 09:38 AM
RE: Ajax output problem - by neuron - 03-26-2017, 11:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB