输入banner图图片脚本导航/分类

mysql数据库ip与字符串

使用inet_aton函数,将字符串IP转换为整型; mysql> select inet_aton(73.115.134.73) as ip; +------------+ | ip | +------------+ | 1232307785 | +------------+ //使用inet_ntoa函数,将整型IP转换为字符串; mysql> select inet_ntoa(1232307785) as ip; +---------------+ | ip | +---------------+ | 73.115.134.73 | +---------------+

 

mysql数据库ip与字符串

标签:font   地址   div   class   style   mysql   数字   sel   字符