
This code works. I have it in a table which is inside a form and when I click the form's submit button a page is called and I loop the fooMelody to get at the data.
Code: Select all
echo("<td style='" . $StyleVaries . ";border:1px #c0c0c0 solid;text-align:left;vertical-align:top;width:5px;height:18px;' ><input type='textbox' name='fooMelody[]' value='$ParticipateMelody' readonly style='width:10px' onclick='funcInsertM(this.value,$CurrRow)'></td>\n");
Code: Select all
[syntax=php] echo("<td style='" . $StyleVaries . ";border:1px #c0c0c0 solid;text-align:left;vertical-align:top;width:180px;height:18px;' ><a href='/BIAB/$fldKF_BIAB_File' download>$fldSNF_SongName</a></td>\n");
So I want to pick up the song name in a loop in the resulting page the same was as the text box data above. However I prefer not to set it up as a text box. So I tried the code adjustment below. It accepts it but bombs in the resulting page.
Code: Select all
echo("<td style='" . $StyleVaries . ";border:1px #c0c0c0 solid;text-align:left;vertical-align:top;width:180px;height:18px;' ><a name='fooSongName[]' value='$fldSNF_SongName' href='/BIAB/$fldKF_BIAB_File' download>$fldSNF_SongName</a></td>\n");
Unfortunately if I can't get it to work within about 3 hours I need to leave this project until April and figure out a way to get it out of my mind



Thanks,
John