Accessing javascript array values using PHP -


i have created array named "arraymodel" in javascript , trying access values in php. store values php variables.

var arraymodel = new array(5); arraymodel[0] = "one"; arraymodel[1] = "two"; arraymodel[2] = "three"; arraymodel[3] = "four"; arraymodel[4] = "five"; 

any idea how can access values of array in php?

thanks in advance.

php server language , javascript browser language. means not working together. whatever write in javascript in browser, when send server example ajax php can it.


Comments

Popular posts from this blog

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

javascript - Create websocket without connecting -

android - Linear layout children not scrolling -