[Á°][¼¡][ÈÖ¹æ½ç°ìÍ÷][¥¹¥ì¥Ã¥É°ìÍ÷]

mysql:4134

From: "tamuzin2" <"tamuzin2" <tamuzin@xxxxxxxxxx>>
Date: Fri, 3 Aug 2001 17:31:06 +0900
Subject: [mysql 04134] Re: MySQL INSERT ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤Ç¤­¤Ê¤¤¡Ú²ò·è¡Û

¤Î¤Ö¤ò¡¡ÍÍ
¤ª¶µ¤¨Äº¤­Í­Æñ¤¦¤´¤¶¤¤¤Þ¤¹¡£

»ØŦ夤¤¿²Õ½ê¤Ê¤É¤ò¤â¤¦°ìÅٳΤ«¤á¤Æ¤ß¤¿¤È¤³¤í¡¢Ã±½ã¤Ê¥¿¥¤¥×¥ß¥¹¤À¤Ã¤¿¤ß¤¿¤¤
¤Ç¤½¤ÎÉôʬ¤ò½¤Àµ¤·¤Þ¤·¤¿¤é²ò·è¤Ç¤­¤Þ¤·¤¿¡£
º£²ó¤ÏÁÇÁᤤ¤´ÊÖÅúÍ­Æñ¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£

¤¢¤È¡¢¡Öplaceholder¡×¤È¤Ï¤É¤¦¤¤¤Ã¤¿¤â¤Î¤Ê¤Î¤Ç¤·¤ç¤¦¤«¡©
Àè¤Û¤É¡¢µÜÀî¡¡Íͤˤâ¡Öplaceholder¡×ÍøÍѤ·¤¿¤é¤¤¤¤¤Ç¤¹¤è¤È¤ª¶µ¤¨Äº¤¤¤¿¤Î¤Ç¤¹
¤¬¡¢¤½¤Î»þ¤ÎÀâÌÀ¤Ç¡¢
  $sth = $dbh->prepare('INSERT INTO table VALUES (?, ?, ?)');
  $sth->execute($a, $b, $c);
¤³¤ì¤¬¡Öplaceholder¡×¤ÎÍøÍÑÊýË¡¤È¤ª¶µ¤¨Äº¤¤¤¿¤Î¤Ç¤¹¤¬¡¢VALUES (?, ?, ?)¤Î( )
Æâ¤Î¡Ö?¡×¤Ï¤É¤ó¤Ê°ÕÌ£¤Ê¤Î¤«¡¢execute($a, $b, $c)¤Î( )Æâ¤Î¡Ö$a, $b, $c¡×¤È¤¤
¤¦ÊÑ¿ô¤Ï¤É¤ó¤Ê°ÕÌ£¤Ê¤Î¤«»ä¤Ê¤ê¤ËÄ´¤Ù¤Æ¸«¤Þ¤·¤¿¤¬»ÄÇ°¤Ê¤¬¤é²ò¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£
¤â¤·¤«¤·¤¿¤é¡¢¤³¤ó¤Ê»ö¤ò¤³¤³¤Î¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ë¤Æ¤ªÊ¹¤­¤¹¤ë¤Î¤Ï¤¤¤±¤Ê¤¤»ö¤«
¤â¤·¤ì¤Þ¤»¤ó¤Î¤ÇÊ̤˶µ¤¨¤Æ¤¢¤²¤Æ¤â¤¤¤¤¤è¡¼¤Æ¿Í¤¬¤¤¤ì¤Ð¤ª¶µ¤¨²¼¤µ¤¤¡£



[Á°][¼¡][ÈÖ¹æ½ç°ìÍ÷][¥¹¥ì¥Ã¥É°ìÍ÷]

      4109 2001-08-01 10:55 ["tamuzin2" <tamuzin@] ¥Ð¥¤¥Ê¥ê¡¼¥Ç¡¼¥¿¤ò°·¤¦ÊýË¡¤Ï¡©          
      4121 2001-08-03 00:17 ¨±[Tatsuhiko Miyagawa <]                                       
      4122 2001-08-03 01:04 ¡¡¨²["tamuzin2" <tamuzin@]                                     
      4124 2001-08-03 06:08 ¡¡¨­¨±[Tatsuhiko Miyagawa <]                                   
      4131 2001-08-03 16:26 ¡¡¨­¡¡¨±["tamuzin2" <tamuzin@]                                 
      4132 2001-08-03 16:26 ¡¡¨±["tamuzin2" <tamuzin@] MySQL INSERT ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤Ç¤­¤Ê¤¤ 
      4133 2001-08-03 16:55 ¡¡¡¡¨±[A Tsukui <milano@xxx]                                   
->    4134 2001-08-03 17:31 ¡¡¡¡¡¡¨±["tamuzin2" <tamuzin@] Re: MySQL INSERT ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤Ç¤­¤Ê¤¤¡Ú²ò·è¡Û
      4135 2001-08-03 17:52 ¡¡¡¡¡¡¡¡¨²["Kawai,Takanori" <GC]                               
      4136 2001-08-03 18:07 ¡¡¡¡¡¡¡¡¨±[Yasuhide OMORI / Âç¿] placeholder (Re: MySQL INSERT ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤Ç¤­¤Ê¤¤¡Ú²ò·è¡Û)
      4137 2001-08-03 18:58 ¡¡¡¡¡¡¡¡¡¡¨±["tamuzin2" <tamuzin@]