检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:朱飞[1] 刘曼琳 ZHU Fei;LIU Man-lin(Naval Petty Officer Academy,Bengbu Anhui 233000)
机构地区:[1]海军士官学校,安徽蚌埠233000
出 处:《数字技术与应用》2020年第7期38-41,共4页Digital Technology & Application
摘 要:mysql与mysqli都是PHP语言中的函数。mysql只能用于PHP前期的版本中,在PHP5.5以后的版本中就无法使用了。由于MySQL数据库的扩展和不断更新,mysql函数不能与之相适应,而mysqli函数可以很好地解决这一问题。本文结合PHP语言,从连接方式、相关类和m y sq li的使用方法对进行阐述。最后通过一个实例对比分析二者应用的区别。Both mysql and mysqli are functions in the PHP language.mysql can only be used in the early version of PHP,it can not be used in the version after PHP5.5.Due to the expansion of mysql and the continuous updating of the MySQL server,it cannot adapt to it,and mysqli can solve this problem well.This article explains the difference between mysql and mysqli in combination with the PHP language from the connection method,related classes and the use of mysqli.Finally,through an example,the difference between the two applications is analyzed.
关 键 词:PHP语言 mysql函数 mysqli函数 MYSQL数据库
分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.145