$sql="INSERT INTO mail_list (id,email)
die('Error: ' . mysql_error());
echo "1 record added";
And I have my page which is a text box that asked for the e-mail address, which looks like this:
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
When I click submit I get the beforeSubmit alert but I never get the success callback response. However, the address does get insereted into the database but no update to div #output2. Note: I have tried locally and on the server.