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 () ...
Laracasts has a good package that we can use to pass PHP variables to Javascript.
Many a times we got stuck in a case or situation where we have to pass javascript variables to php using a hidden input in a form. the solution for this situation is:solution:we cannot pass variable ...
In PHP arrays are passed by copying the array into a function. In the converted Javascript, arrays are converted to objects and objects are passed by reference, so any modification to the parameter ...