Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB