 |
 |
|
Step 2 Create HTML code - Here we split the array - @mylines -and build up the html code.
We have used a subroutine ShowCategories for this. For clarity it is best to put your subroutines at the end of your script
. |
|
 |
 |
|
sub ShowCategories { $mycategories = "";foreach $myline (@mylines)
{ @mycdata = split(/,/,$myline); { $mycategories = $mycategories.'<option>'.$mycdata[$arrayelement];
} } |
|