--- trunk/link.phtml 2004/03/04 22:43:17 41
+++ trunk/link.phtml 2004/03/04 22:43:50 42
@@ -25,8 +25,8 @@
. " AND element_id = "
. $element_id;
- $rs = mysql_query($sql, $con);
- $row = mysql_fetch_array($rs);
+ $rs = xx_query($sql, $con);
+ $row = xx_fetch_array($rs);
// Resource
$resource_id = $row["resource_id"];
@@ -101,13 +101,13 @@
. $user_ip
. "')";
- if (!mysql_query($sql, $con)){
+ if (!xx_query($sql, $con)){
sql_err($con);
- mysql_query ("UNLOCK TABLES", $con);
+ xx_query ("UNLOCK TABLES", $con);
bailout();
} // bad write
else {
- mysql_query("UNLOCK TABLES", $con);
+ xx_query("UNLOCK TABLES", $con);
} // good write to the stats table