Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
[PHP] Alternative to JSON_PRETTY_PRINT? [/PHP]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="NSA" data-source="post: 223565" data-attributes="member: 10034"><p>Hey guys.</p><p> </p><p>I'm trying to find an alternative to PHP's "JSON_PRETTY_PRINT" for "JSON_ENCODE".</p><p>I've searched everywhere but I can't find one.</p><p>Problem is, I'm using an older version of PHP on my local server and when I transport it over to my web host, I get errors.</p><p> </p><p>My Server:</p><p><img src="http://s7.postimg.org/qpuctc8ej/works.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p>Web host server:</p><p><img src="http://s21.postimg.org/vt83s885z/no_work.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p>If anyone can help, it'd be much appreciated.</p><p> </p><p>Thanks.</p></blockquote><p></p>
[QUOTE="NSA, post: 223565, member: 10034"] Hey guys. I'm trying to find an alternative to PHP's "JSON_PRETTY_PRINT" for "JSON_ENCODE". I've searched everywhere but I can't find one. Problem is, I'm using an older version of PHP on my local server and when I transport it over to my web host, I get errors. My Server: [IMG]http://s7.postimg.org/qpuctc8ej/works.png[/IMG] Web host server: [IMG]http://s21.postimg.org/vt83s885z/no_work.png[/IMG] If anyone can help, it'd be much appreciated. Thanks. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
[PHP] Alternative to JSON_PRETTY_PRINT? [/PHP]
Top