<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kshinya-tech</author_name>
  <author_url>https://blog.hatena.ne.jp/kshinya-tech/</author_url>
  <blog_title>SHINYA TECH</blog_title>
  <blog_url>https://shinya-tech.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>PHPからMySQLに接続する方法を学び、読書ログサービスに実装しました。 PHPからMySQLに接続する方法 MySQLに接続するにはmysqli_connect関数を使う MySQLに接続できないケースを想定して、対策する なぜ？ PHPからMySQLとの接続を切断方法 読書ログサービスへの実装 備忘録（つまづいた点） 解決した方法 感想（参考URL） PHPからMySQLに接続する方法 PHPからMySQLを利用するときはMySQLiを使う。 （オブジェクト指向学習後は別の方法もある模様） MySQLに接続するにはmysqli_connect関数を使う mysqli_connect('ホ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinya-tech.com%2Fentry%2F2022%2F02%2F11%2F024033&quot; title=&quot;#7 PHPからMySQLに接続する方法 - SHINYA TECH&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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kshinya-tech/20220211/20220211023511.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-11 02:40:33</published>
  <title>#7 PHPからMySQLに接続する方法</title>
  <type>rich</type>
  <url>https://shinya-tech.com/entry/2022/02/11/024033</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
