I have a form that I dynamically create text boxes and the names respectively are text1, text2, text3, etc...... to text14.
When I click the submit button I am having issues with the $HTTP_POST_VARS code.
I just would like to know if I can do something like the following:
Basically I would like to know how I can dynamically call each text.PHP Code:for ($iArCnt=1; $iArCnt<15;$iArCnt++){
$sTmp = "text" . $iArCnt;
if (strlen($HTTP_POST_VARS($sTmp)) > 0){
$arFeature($iArCnt) = $HTTP_POST_VARS($sTmp);
} else {
$arFeature($iArCnt) = "";
}
}
Thanks in advance.




Reply With Quote