Pls help not sure how to fix: I put the 410 just to mark the line in question Thanks In Advance
function sql_escapestring($string)
{
return $this->sql_addq($string);
}
function sql_addq($string)
{
static $magic_quotes;
if (!isset($magic_quotes)) $magic_quotes = get_magic_quotes_gpc();
if ($magic_quotes) $string = stripslashes($string);
410 return (version_compare(phpversion(), '4.3.0', '>=')) ? mysqli_real_escape_string($string) : mysqli_escape_string($string);
}
function sql_error($query_id = 0)
{
return array('message' => @mysqli_error($this->db_connect_id), 'code' => @mysqli_errno($this->db_connect_id));
}
function sql_ufetchrow($query = "", $type=SQL_BOTH)
{
$query_id = $this->sql_query($query, true);
$result = $this->sql_fetchrow($query_id, $type);
$this->sql_freeresult($query_id);
return $result;