• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getJSON not working correctly with codeigniter

#3
[eluser]CroNiX[/eluser]
Also, I think you have an extra array layer in your json.

$queryresults already looks like it's an array, so this is probably also causing a problem as you wrap it all in another array:
Code:
$arrays = array($queryresults);

Which is probably why you have a double set of brackets at that start and end ([[) and (]]) of your json output.


Messages In This Thread
getJSON not working correctly with codeigniter - by El Forum - 03-18-2013, 06:33 PM
getJSON not working correctly with codeigniter - by El Forum - 03-18-2013, 09:04 PM
getJSON not working correctly with codeigniter - by El Forum - 03-18-2013, 09:13 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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