ã©ã® API ã使ãã PHP ã«ã¯ãæ§ã 㪠MySQL ã¸æ¥ç¶ãã API ãããã¾ãã 以ä¸ã«ãmysqli 㨠PDO ãæä¾ãã API ã示ãã¾ãã ããããã®ã³ã¼ãã¯ã"example.com" ä¸ã§ç¨¼åãã MySQL ãµã¼ãã¼ã« ã¦ã¼ã¶ã¼å "user"ããã¹ã¯ã¼ã "password" ã§æ¥ç¶ãããã®ã§ãã ããã¦ãã¯ã¨ãªãå®è¡ãã¦ã¦ã¼ã¶ã¼ã«ãããã¤ãã¾ãã <?php // mysqli $mysqli = new mysqli("example.com", "user", "password", "database"); $result = $mysqli->query("SELECT 'Hello, dear MySQL user!' AS _message FROM DUAL"); $row = $result->fetch_assoc(); echo htmle
{{#tags}}- {{label}}
{{/tags}}