I am trying to add recaptcha but cant get it working The post code for the form is: $editFormAction = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']); } if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO comments (gameid, name, email, url, `comment`) VALUES (%s, %s, %s, %s, %s)", GetSQLValueString($_POST['gameid'], "int"), GetSQLValueString($_POST['name'], "text"), GetSQLValueString($_POST['email'], "text"), GetSQLValueString($_POST['url'], "text"), GetSQLValueString($_POST['comment'], "text")); mysql_select_db($database_Xbox360, $Xbox360); $Result1 = mysql_query($insertSQL, $Xbox360) or die(mysql_error()); } PHP: It is on the same page as the form so once it submits it auto updates it rather than validating and processing on an external php page. Can anyone help?
What errors are being returned. And can you explain how you have it setup .. Do you have pageA that posts a form to pageB? Which page is that recaptcha code in?