<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ikdysk0419</author_name>
  <author_url>https://blog.hatena.ne.jp/ikdysk0419/</author_url>
  <blog_title>Security Record</blog_title>
  <blog_url>https://security-record.com/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>昔PHPの学習をしていた時、PHPとデータベースの色々なDB接続方法を調べたのでそれを纒めました。 かなり古い実装方法も記載してある為、万一この記事を参考にする場合は、非推奨と書かれていない方法で実装することをオススメします。 mysql_connect関数を使う(非推奨) 公式サイトによると、mysql_connectは PHP5.5.0で非推奨になり、PHP 7.0.0で削除されています。 よほど古いサイトの改修などに関わる時以外は使う事はまず無いでしょう。 他にもほとんどのmysql関数が非推奨または削除となっています。 // DBへ接続 $link = mysql_connect('l…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecurity-record.com%2Fentry%2F2023%2F04%2F30%2F155926&quot; title=&quot;PHPとMySQLの接続方法をいろいろ比較した - Security Record&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-30 15:59:26</published>
  <title>PHPとMySQLの接続方法をいろいろ比較した</title>
  <type>rich</type>
  <url>https://security-record.com/entry/2023/04/30/155926</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
