ã¾ããã¼ã¿ãã¼ã¹ã¸ã®æ¥ç¶æ¹æ³ã§ããDBã¯ã©ã¹ã§ç¨æããã¦ããconnectã¡ã½ããã使ãã¾ãã connect object connect (mixed $dsn [, array $options = array()]) æ°ãã DB æ¥ç¶ãªãã¸ã§ã¯ããä½æããæå®ãããã¼ã¿ãã¼ã¹ã«æ¥ç¶ãã¾ãã ãã©ã¡ã¼ã¿ string ããã㯠array $dsn ãã¼ã¿ã½ã¼ã¹åã array $options ãªãã·ã§ã³ã®å¼æ°ã«ããã®ããã±ã¼ã¸ã®ããã®å®è¡æè¨ å®é ç®ã å«ãããã¨ãã§ãã¾ãã è¿ãå¤ object - æ°ãã DB ãªãã¸ã§ã¯ãã ãããã¯å¤±ææã«ã¯ DB_Error ãªã ã¸ã§ã¯ããè¿ãã¾ãã ãã¼ã¿ãã¼ã¹ã¸æ¥ç¶ããããã®æ å ±ãDSN(ãã¼ã¿ã½ã¼ã¹å)ã®å½¢ã§æå®ãã¾ããæå®ã¯æååã§ã¾ã¨ãã¦æå®ããããé åã®å½¢ã§æå®ãã¾ãã DSNã®å½¢å¼ DSNã®ãã©ã¼ãããã¯ä¸è¨ã®éãã§ã
{{#tags}}- {{label}}
{{/tags}}