Welcome Guest, Not a member yet? Register   Sign In
HOW TO DISPLAY JSON IN HTML
#2

[eluser]CroNiX[/eluser]
They way you have it set up in your loop, $data2 will only be the very last value from your $data array. Each loop overwrites the previous value with the new value. Not sure what the purpose of that loop is anyway. Why not just json_encode($data)?


Messages In This Thread
HOW TO DISPLAY JSON IN HTML - by El Forum - 09-20-2013, 01:04 AM
HOW TO DISPLAY JSON IN HTML - by El Forum - 09-20-2013, 08:14 AM
HOW TO DISPLAY JSON IN HTML - by El Forum - 09-22-2013, 06:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB