PHP语言中mysql与mysqli应用浅析  被引量:2

Research on the Difference between Mysql and Mysqli Based on PHP Language

在线阅读下载全文

作  者:朱飞[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[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象