Cpp String To Char Array Php Functions For Mysql