在 PHP 中提交表单后,一个字段的数据库字段将“资源 ID #12”作为其内容。这应该是什么意思,我如何找到问题?
$userid = $_POST['userid'];
$paid = $_POST['paid'];
$amountpaid = $_POST['amountpaid'];
$method = $_POST['method'];
$checknum = $_POST['checknum'];
$invoicenum = $_POST['invoicenum'];
mysql_query("INSERT INTO auction_payments (id,purchaser_id,
invoicenum, amountpaid, method, checknum,on_date) VALUES('','$userid','$invoicenum','$amountpaid',
'$method','$checknum',NOW())") or die(mysql_error());