• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
json_encode & header() problem

#3
[eluser]CroNiX[/eluser]
Do you have code that executes below your echo json_encode() that is perhaps outputting something or setting another header? try putting "exit();" immediately after you echo the json out.


Messages In This Thread
json_encode & header() problem - by El Forum - 04-25-2012, 08:52 AM
json_encode & header() problem - by El Forum - 04-25-2012, 09:37 AM
json_encode & header() problem - by El Forum - 04-25-2012, 11:53 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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