Update inc.functions.php

Changed mysql references to mysqli.