News

json_encode() is corePHP function which is used to generate JSON which will be a simple value (i.e nethier an object nor an array). So, in this tutorial, we will see how to use json_encode() function ...
A tool for converting simple PHP objects to Javascript code, so that code for manipulating objects can be used both server-side and client-side. There is a page with ...
Convert a selected text area with JSON or Javascript Object/Array to/from PHP Array notation. If the selected text is empty it will take the content of the clipboard an inserts at the current cursor ...
Sometimes, I feel a need to get a PHP array in my JavaScript code. Earlier I make use of implode function of php but recently found new way using json_encode that works very effectively ...
Laracasts has a good package that we can use to pass PHP variables to Javascript. Often, you'll find yourself in situations, where you want to pass some server-side ...