I am using a count variable at the end of my other variables, and I am having trouble getting the values of these variables bacl
See attached image of project.
Each column has its own variable name + each row has a $cnt variable.
Like workorder1, cwa1, prime1, workorder2, cwa2, prime2, etc ....
How can I call these variables to post in the table if a user has already submitted values?
I'm trying this a couple of different ways, but I can't get either way to work. Can someone let me know which is best, and what will work.
print "<td><input name=\"release$cnt\" type=\"text\" size=3 maxlength=7 VALUE=\"$release$cnt\"></td>\r\n";
if ($provider[$cnt] =="") {
print "<select name=\"provider$cnt\">\r\n";
print "<option value=''>Select a provider</option>\r\n";
print "<option value='2'>AT&T/SBC</option>\r\n";
print "<option value='1'>Metro PCS/T-Mobile</option>\r\n";
print "<option value='3'>Sprint/Verizon/Nextel</option>\r\n";
print "</select>\r\n";
} else {
print "value=\"$provider$cnt\"";
}