Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按照指示创建好了数据库和table后进入localhost打开目标文件出错 #1

Open
joy427 opened this issue Nov 13, 2016 · 2 comments

Comments

@joy427
Copy link

joy427 commented Nov 13, 2016

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\wamp64\www\php\index.php on line 94

@joy427
Copy link
Author

joy427 commented Nov 13, 2016

请问这是什么原因呢

@1c7
Copy link

1c7 commented Nov 13, 2016

这里说 mysql 不要用了(不是数据库,而是 mysql_connect 这种用法),用mysqli 或者 PDO,你改成mysqli_connect()试试。
这是个非常老的 Github 库了。N年前的了。我已经完全不管了。有一定参考价值。
现在都出 PHP 7 了好像。我已经转做 Ruby on Rails 了。

Node, PHP, Python, Ruby 我都试过了,做后端用 Rails 非常舒心。建议有空学着玩玩。
(试过的包括 Express.js ThinkPHP, CodeIgniter, Flask, Django, Ruby on Rails)

祝学习顺利 :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants