´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • ¹Ý¾ß / 2000-06-16 / ¿ÀÈÄ 6:37:29 / 210.207.238.52
    Á¶È¸¼ö : 127
    [Áú¹®] üũ¹Ú½º·Î ¹ÞÀº °ª(¹®ÀÚ¿­)À» db¿¡ intÇüÀ¸·Î ´Ù½Ã ³Ö¾îÁÖ±â

    ¾ÕÆäÀÌÁö

    < input type="checkbox" name="team_num" value="1 >
    < input type="checkbox" name="team_num" value="2 >
    < input type="checkbox" name="team_num" value="3 >
    ------------------------------------------------------
    ¹Ø¿¡ team_numÀº ¾Õ ÆäÀÌÁö¿¡¼­ üũ¹Ú½º·Î ¹ÞÀº °ªÀÔ´Ï´Ù.(¸ÖƼ°ª)
    ¿¹¸¦ µé¾î team_num°ªÀº (2,12,4) ¹®ÀÚ¿­·Î °ªÀ» ¹Þ¾Æ¿À´Âµ¥
    split()¸¦ ÀÌ¿ëÇÏ¿© ÀÌ °ªµéÀ» °¢°¢ db¿¡ ÀúÀåÇØÁÖ´Â ºÎºÐ¿¡¼­ ¿¡·¯°¡ ³ª
    ³×¿ä.Å×À̺íÀÇ Å×ÀÌÅÍ Å¸ÀÔÀº team_num1,,,team_3 ¸ðµÎ intÇüÀε¥, üũ¹Ú
    ½º·Î ¹ÞÀº °ªÀº vacharÇüÀÌ¶ó¼­ ÀÔ·ÂÀÌ ¾ÈµË´Ï´Ù.
    intÇüÀ¸·Î ¹Ù²Ù¾î¼­ ³ÖÀ» ¼ö ¾ø³ª¿ä?

    ---------ÇöÀç ÆäÀÌÁö---------
    <%

    team_num =Request.Form("team_num")

    test=split(team_num)


    Set db=Server.CreateObject("ADODB.Connection")
    db.Open("Dsn=xx;uid=xx;pwd=xx")


    SQL = "INSERT INTO playoffbet
    (mem_id,bet_point,team_num1,team_num2,team_num3,league_num,item_nu
    m) values ('"&session("mem_id")&"','"&bet_point&"','"&test(0)&"','"&test
    (1)&"','"&test(2)&"','"&league_num&"','"&item_num&"')"

    db.Execute sql
    %>
    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :