We have to use the html form to open a page with a box that says enter number and submit. we must enter 15 numbers one by one that will be added to an array. The elements of the array must be displayed one by one in order as they were entered. This is what I've come up with so far. Thanks for the help.
file name ChimentoWcpst2200-4A.html
<!DOCTYPE html>
<html>
<head>
<title>ChimentoWcpst2200-4A</title>
</head>
<body>
<?php
$count= 0;
while ($count < 15){
echo "enter again. $count <br />";
$count++;
}
?>
<form action="ChimentoWcpst2200-4A.php" method="GET">
<fieldset>
ENTER NUMBER: <input type="text" name="added_number" size="3"> <br>
<input type="submit" value="submit">
</fieldset>
</form>
</body>
</html>
filename ChimentoWcpst2200-4A.php
<?php
$number=0;
$number=$_GET["added_number"];
$number = array();
if ($count > 14){
$count++;
$count = 0;
while($count < 14)
{
echo "$array[$count]<br />";
$count++;
}
}