• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.