Thread: Send array to another page. How?
Results 1 to 1 of 1
Related
-
Passing PHP array from one file to Javascript array in another file Forum: PHP Forum
Replies: 4 -
How to Send array from one form to another? Forum: PHP Forum
Replies: 1 -
How to send an array to php? Forum: Javascript Forum
Replies: 0 -
Splitting SQL array to display in two tables on same page Forum: PHP Forum
Replies: 1
-
02-22-2008, 04:28 AM #1
Send array to another page. How?
HI,
I have a javascript array which i need to pass to another page and access this array using PHP code. I've written the javascript code but need your help on this to send the array to another page. Any ideas?
Code:function check() { var frm=document.forms.stream_selection sel_num = new Array() for(j=1;j<=1000;j++) { if(!frm[j].checked) { frm[0].checked=false } else { sel_num =frm[j].value location.href="selected_streams.php?arr="+sel_num Parr = new Array(); for(i=0 ;i<sel_num.length ;i++){ Parr.push(escape(sel_num[i].innerHTML)); } return Parr; } var par = new Array(); par = get_paragraphs(); var parString = par.toString(); document.values.hide.value=parString; } }
Ramki.
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum