I have a bit of a headache here. My problem is as follows. I have three sites that I e-mail items to, all three sites have a couple of default mail addresses. so on my form i create inputs with the existing addresses and allow the user to create more dynamically. i might end up with the following
site 1 - address 1
site 1 - address 2
site 2 - address 1
site 2 - address 2
site 2 - address 3
etc
my inputs look like <input type="text" name="email[]"/>
i need to pass the site identifier and the inputted address to my php script and loop through it to add the list to the database
name="site1email[]",name="site2email[]", andname="site3email[]"?name="email[site1][]"/name="email[site2][]"/etc