This is the script:
<script language="JavaScript">
function TOT(){
var tot = new Array();
tot[0] = document.forms.tot.tot1.value;
tot[1] = document.forms.tot.tot2.value;
tot[2] = document.forms.tot.tot3.value;
tot[3] = document.forms.tot.tot4.value;
tot[4] = document.forms.tot.tot5.value;
for (a = 0; a < 5; a++){
msg = msg + tot[a] + "|";
} //end for
} //end func
</script>
and I need to transfer this variable "msg" to PHP from:
<a href='prel.php?m=$msg'>
Help me please.