Re: [mccode v2] Faction with Armoury
With mysql_real_escape_string(); in v2 all you got to use is: $db->escape($var);
Because v2 has it in the class already.
This is from the class file.
function escape($text) {
return mysql_real_escape_string($text, $this->connection_id);
}