I am working on a small program to hopefully use for my work and what I have so far is there is a home page where the user can select the number of forms they desire, which will then lead them to a page where the forms are. I want to be able to create a nice output report with all the read in data. For now I want to be able to just print out all the names to see if they are being all read in. I have not yet concluded how to go about this besides thinking they should be read into an array so they can be printed from there. Here is my code so far and a link. I am very new to php and html so any help would be great!
http://students.cs.niu.edu/~z136340/dailysh<?php
Main Page:
<html>
<font face ="arial">
<h1><center>Daily Sheets</center></h1>
</font>
<center>version 0.1</center>
<body>
<center>
<form method="post" action=forms.php>
<p> <b>How Many Employees? </b>
<input type="text" name="eNum" size="2"/>
</p>
<p><input type = "submit" value = "Submit"/></p>
</center>
</form>
</body>
</html>
Forms Page:
<?php
echo '<font face ="arial"><h1><center>Daily Sheets</center></h1></font><center>version 0.1</center>';
//assign number of employees
$empNum = $_POST['eNum'];
echo '<form method="post" action=ds.php>';
//provide forms for specific number of employees
for($i=0;$i<$empNum;$i++)
{
echo '<p> <b>Employee Name: </b><input type="text" name="eName" size="30"/>
<b>Shift: </b><input type="text" name="shift" size="11"/>
<b>Unable To Perform: </b>
Parking Lot
<input type="checkbox" name = "unable" value = "pLot"/>
Entrance Way
<input type="checkbox" name = "unable" value = "eWay"/>
Carport
<input type="checkbox" name = "unable" value = "cPort"/>
</p>';
}
echo '<center><input type = "submit" value = "Create Daily Sheet"/></center>';
?>