ã2021/10/15 追è¨ã ãã®è¨äºã¯æ´æ°ãåæ¢ããã¦ãã¾ããç¾å¨ã§ã¯çè
ã®ææ³ãå¤åãã¦ããé¢ãããã¾ãã®ã§ï¼éå»ã®è¨äºã¨ãã¦åèç¨åº¦ã«ã覧ãã ãããPDO ã«é¢ãã¦ã¯å¤§ããå¤ãã£ã¦ããªãé¨åãå¤ãã¨ã¯æãã¾ããï¼ PHP 8.x 以éã§ã®åä½ä¿è¨¼ã¯ããã¾ããã ãããããèªãã§ããããè¨äº Qiita - ãPHPè¶
å
¥éãã¯ã©ã¹ï½ä¾å¤å¦çï½PDOã®åºç¤ by @7968 åå¿è
ããããã¡ãªã㹠以ä¸ã®ã©ããã«1ã¤ã§ãå½ã¦ã¯ã¾ãã³ã¼ãã¯è¦ç´ãå¿
è¦ãããã¾ãï¼ä»é²ã«ãªã³ã¯ãè²¼ã£ã¦ããã¾ããã®ã§ï¼ã該å½ããããï¼ãã¨ãã人ã¯ã¯ãªãã¯ãã¦é£ãã§èªãã§ãã ããï¼å¤ªåã«ãã¦ãããã®ã¯èå¼±æ§ã«ç´çµããå±éºåº¦ã®é«ããã®ã§ãï¼ mysql_query ãªã©ã®éæ¨å¥¨é¢æ°ãå©ç¨ãã¦ãã SET NAMES ããã㯠SET CHARACTER SET ãªã©ã§æåã³ã¼ããæå®ãã¦ãã ãããããã¼ã¿ãã¼ã¹
{{#tags}}- {{label}}
{{/tags}}