
Solid, safe website tools.
Whatever your need, Will Bontrager builds powerful software solutions.
If you don't find the answer to your question in these archives, ask your CGI question at the Current Master Series CGI Forum.
| Author | Message |
|---|---|
| 24Feb04 S.Balkhis |
Subject: Auto Submission Sir, <? $PH_No = "131343"; if($Name) for($i=1; $i<=$No; $i++) $str .="<input type =\"text\" name=\"Name\" value=\"$Name\"><input type=\"int\" name=\"PH_No\" value=\"$PH_No\"><input type=\"text\" name=\"Add\" value=\"$Add\">"; UserName : <INPUT TYPE="text" NAME="Name" VALUE=" echo $Name ?>"> PhoneNo : <INPUT TYPE="int" NAME="PH_No" VALUE=" echo $PH_No ?>"> Address : <INPUT TYPE="text" NAME="Add" VALUE=" echo $Add ?>"> No.of Users: <INPUT TYPE="text" NAME="No"> <INPUT TYPE="submit" VALUE="submit"> </FORM> </BODY> </HTML> Note: When the above is executed, (say for 5 users) all the five users gets displayed but only the last stored value of Name is posted to Test.php and i can't use arrays bcoz, the second script "Test.php" can't be modified by me and in "Test.php" only variables are declared not arrays. <? UserName: <INPUT TYPE="text" NAME="Name"> PhoneNo : <INPUT TYPE="int" NAME="PH_No"> Address : <INPUT TYPE="text" NAME="Add"> <INPUT TYPE = "submit" VALUE="submit"> </FORM> </BODY> </HTML> ======================================== Thanks & Regards, |
| 24Feb04 Will [Email] ![]() |
In response to: Auto Submission Balkhis, it appears that you're working with PHP. Probably a PHP help group can answer your question. I'm sure there are discussion groups and forums dedicated to PHP. (I have only a little experience with PHP.) |