• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
creating a json structure

#3
I think:
$root = [
'data' = [

],
'status' = '',
'...' = '...'
];

return json_encode($root);

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply


Messages In This Thread
creating a json structure - by richb201 - 09-24-2020, 01:05 PM
RE: creating a json structure - by InsiteFX - 09-24-2020, 02:17 PM
RE: creating a json structure - by nc03061981 - 09-24-2020, 05:46 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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