hmm - well its something in the recordset selection code. I've changed it so it selects the record by ID rather than barcode as I thought this might be giving me the problem, but its still occurring. This is the error report from my apache error log:
PHP Fatal error: Can't use method return value in write context in C:\\wamp\\www\\okeefe\\public_html\\checkout_success.php on line 358
and this is the code chunk to which it refers (line 358 being the 3rd line down):
<?php
$paramInvID_rsInventory = "-1";
if (isset($OkeefeCart->DisplayInfo("InvID"))) {
$paramInvID_rsInventory = (get_magic_quotes_gpc()) ? $OkeefeCart->DisplayInfo("InvID") : addslashes($OkeefeCart->DisplayInfo("InvID"));
}
mysql_select_db($database_cmsconn, $cmsconn);
$query_rsInventory = sprintf("SELECT * FROM inventory WHERE inventory.InvID=%s", GetSQLValueString($paramInvID_rsInventory, "int"));
$rsInventory = mysql_query($query_rsInventory, $cmsconn) or die(mysql_error());
$row_rsInventory = mysql_fetch_assoc($rsInventory);
$totalRows_rsInventory = mysql_num_rows($rsInventory);
?>