$idArray = array(1,2,3,4);
can I write this line in HTML?
<form method='POST' action='{$_SERVER['PHP_SELF']}?arr={$idArray}'>
or should I write:
<form method='POST' action='{$_SERVER['PHP_SELF']}?arr[]={$idArray}'>
how will it be passed?
how should I handle it in the called page?
thanks !!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…