Home > Backend Development > PHP Tutorial > 新人,5.4怎么连接mysql

新人,5.4怎么连接mysql

WBOY
Release: 2016-06-13 12:53:21
Original
764 people have browsed it

新人,5.4如何连接mysql
  干java的,最近没事,我感觉目前我的配置应该是没错的。phpinfo()那个页面可以出来,现在就是想问一下php文件里怎么写,无力吐槽一下,这一下午弄的有点累。。


------解决方案--------------------
mysqli_connect($host,$user,$pwd,$db,$port);
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template