I am trying to create a webpage where, when someone subscribes, they are automatically subscribed to 2 different lists. The first list is a double opt-in list, the second isn't.
The form is functioning properly (inotherwords they are getting subscribed to both lists), however I am getting the following error message on the confirmation screen:
Warning: Cannot modify header information - headers already sent by (output started at /home/xleaders/public_html/theinsurancecoach/listmail/signup.php:197) in /home/xleaders/public_html/theinsurancecoach/listmail/signup.php on line 197
Here is the HTML from my form. Can anyone see anything I've done wrong? I've already checked to make sure that my config.php and signup.php files have no extra lines or spaces at the end of them...
<form method=post action=http://www.theinsurancecoach.com/listmail/signup.php>
<blockquote>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<div align="left">
<table border="0" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="94%" id="AutoNumber6" height="175">
<tr>
<td width="28%" height="22"><font face="Trebuchet MS"><b>First Name: </b></font>
</td>
<td width="72%" height="22"><font face="Trebuchet MS">
<input type=text name=fname size=14></font></td>
</tr>
<tr>
<td width="28%" height="22"><font face="Trebuchet MS"><b>Last Name:</b> </font>
</td>
<td width="72%" height="22"><font face="Trebuchet MS">
<input type=text name=lname size=14></font></td>
</tr>
<tr>
<td width="28%" height="22"><font face="Trebuchet MS"><b>Email:</b></font></td>
<td width="72%" height="22"><font face="Trebuchet MS">
<input type=text name=email size="37"></font></td>
</tr>
<tr>
<td width="100%" colspan="2" height="97">
<p align="center" style="margin-top: 0; margin-bottom: 6; margin-left:-5; margin-right:-5"><font face="Trebuchet MS" color="#ff0000" size="2">
* Your name and e-mail address will never be sold or shared with others.</font></p>
<blockquote>
<p style="margin-left: 20; margin-top: 12; margin-bottom: 0">
<font face="Trebuchet MS"><b></p>
<input type=hidden name=lists[] value=1>
<input type=hidden name=lists[] value=3>
<p align="center" style="margin-top: 0; margin-bottom: 0"><font face="Trebuchet MS">
<input type=radio name=htmail value=HTML checked><font size="2">HTML </font>
<input type=radio name=htmail value=text><font size="2">Text </font>
<input type=submit name=sup value="Subscribe"><font size="2"> </font></font></p>
</blockquote>
</td>
</tr>
</table>
</div>
</blockquote>
</form>