Jump to content

Php Program & Html Form That Creates An Array Containing 15 Elements


spider35242

Recommended Posts

Hello: I am very new to programming and I am trying to create a program where I can enter fifteen different elements into this form and have the output be the fifteen elements I entered displayed in the order that which they were entered.

 

 

<html>

<head>

<title>temp</title>

</head>

<body>

 

<form action="temp.php" method="post">

 

<fieldset>

Enter an integer <input type = "text" name + "temp0" size = 3 /><BR>

Enter an integer <input type = "text" name + "temp1" size = 3 /><BR>

Enter an integer <input type = "text" name + "temp2" size = 3 /><BR>

Enter an integer <input type = "text" name + "temp3" size = 3 /><BR>

Enter an integer <input type = "text" name + "temp4" size = 3 /><BR>

Enter an integer <input type = "text" name + "temp5" size = 3 /><BR>

Enter an integer <input type = "text" name + "temp6" size = 3 /><BR>

Enter an integer <input type = "text" name + "temp7" size = 3 /><BR>

Enter an integer <input type = "text" name + "temp8" size = 3 /><BR>

Enter an integer <input type = "text" name + "temp9" size = 3 /><BR>

Enter an integer <input type = "text" name + "temp10" size = 3 /><BR>

Enter an integer <input type = "text" name + "temp11" size = 3 /><BR>

Enter an integer <input type = "text" name + "temp12" size = 3 /><BR>

Enter an integer <input type = "text" name + "temp13" size = 3 /><BR>

Enter an integer <input type = "text" name + "temp14" size = 3 /><BR>

<input type = "submit" vallue = "submit after entering 15 integers" /><br />

</fieldset>

</form>

 

</body>

</html>

 

What do I need to do?

 

A helpful response would be greatly appreciated. Thank you much in advanced.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.