Created
December 25, 2018 08:13
-
-
Save YumaInaura/3f808040162140cfed2f2dac0c735dee to your computer and use it in GitHub Desktop.
mysqliとは?mysqlとの違いは? PHP を @kentyama さんの記事に学びたい Rubyist ref: https://qiita.com/YumaInaura/items/69078a4328d8a7f88c8b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//データベースの接続と選択 | |
$mysqli = new mysqli($host, $username, $password, $dbname); | |
if ($mysqli->connect_error) { | |
error_log($mysqli->connect_error); | |
exit; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment