Do you see anything wrong with this script. (connect page is working fine on the other pages and I’m using the same database)
This is an Alertpay IPN page
[CODE]<?php
include_once ‘connect.php’;
$ap_SecurityCode = $_POST[‘ap_securitycode’];
$ap_CustEmailAddress = $_POST[‘ap_custemailaddress’];
$ap_PurchaseType = $_POST[‘ap_purchasetype’];
$ap_Merchant = $_POST[‘ap_merchant’];
$ap_Quantity = $_POST[‘ap_quantity’];
$ap_TotalAmount = $_POST[‘ap_totalamount’];
$ap_Currency = $_POST[‘ap_currency’];
$ap_ReferenceNumber = $_POST[‘ap_referencenumber’];
$ap_Status = $_POST[‘ap_status’];
$ap_ItemCode = $_POST[‘ap_itemcode’];
$ap_Test = $_POST[‘ap_test’];
mysql_query(“INSERT INTO alertpayref VALUES (‘$ap_ReferenceNumber’, ‘$ap_ItemCode’, ‘$ap_TotalAmount’, ‘$ap_CustEmailAddress’)”);
?>