Converting PHP Multi-dimensional Array to JAVASCRIPT Array – Using JSON encoding

As you know PHP is a Server-side Scripting language. It executes only at the time of page loading and reaches response to the browser as HTML. So PHP multidimensional array cannot assign to JavaScript array directly, since JavaScript is a Client-side Scripting language. That means it runs inside the browser. So when you need to … Continue reading