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

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -