I'm trying to create a list to record student grades into the database. I'm able to pull out the names from the database and create a table with textfields in it to input the data into.
This is the code i'm using
for(int i = 0; rst2.next(); i++){
.......
<th scope="col"><input name="ca1_<%=i%>" type="text" id="exam1" size="7" /></th>
...
I'm using jsp and mysql
My database fields are exam1, exam2, exam3, exam4
Thank you so much for your help.