½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
CSS
html
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 401 | Á¶È¸¼ö 4,130 | µî·ÏÀÏ 2011-01-27 11:46:51

´Ð³×ÀÓ

jsk9999

À̸ÞÀÏ

jsk9827@naver.com

Á¦¸ñ

php if¹® Áú¹®ÀÔ´Ï´Ù
³»¿ë

¾Æ·¡ if ¹®¿¡¼­ »èÁ¦Å°°¡ µ¿ÀÛ¾ÈÇÏ°í °è¼Ó ½Å±Ôµî·ÏµÇ´Âµ¥ ÇÁ·Î±×·¥Á» ºÁÁÖ¼¼¿ä

»ý·«...

function inputs(){
 <? if(strlen($tjumin) == 13){ $tjumin = substr($tjumin,0,6)."-".substr($tjumin,6,7);  } ?>
if(document.frm_il.skk.value =="»èÁ¦")
             <?    { $resultd = mysql_query("delete  from `hilyongds` where `jumin` = '$tjumin';");
          }  ?>
    elseif(document.frm_il.sn.value =="½Å±Ôµî·Ï")
           <? {$resultd = mysql_query("delete  from `hilyongds` where `jumin` = '$tjumin';");
   if (strlen($tjumin) == 14)   {  $results = mysql_query("insert  into `hilyongds` (`saup`,`nam`,`jumin`,`juso`,`gubun`) values ('$name','$tname','$tjumin','$tjuso',2);");
     }  } ?>  return false;}

»ý·«...

<table>
 <tr>
 <td width='55' align='right'><p><b><span  style="font-size:10pt;">ÀÌ    ¸§</span></p></b></td>
 <td width='58' align='right'><p><b><span  style="font-size:10pt;">ÁֹιøÈ£</span></p></b></td>
 <td width='50' align='right'><p><b><span  style="font-size:10pt;">¿¬¶ôó</span></p></b></td>
 </tr>
 <tr>
 <td width='100' align='center'><input size = 10 type="text" id="tname" name="tname" value=<?echo("\"$unam\"");?>  onkeypress="move(event,'tjumin');" /> </td>
 <td width='100' align='center'><input size = 13 type="text" id="tjumin" name="tjumin" value=<?echo("\"$ujumin\"");?> onkeypress="move(event,'ujuso');" /> </td>
 <td width='100' align='center'><input size = 15 type="text" id="tjuso" name="tjuso" value=<?echo("\"$ujuso\"");?> onkeypress="move(event,'sn');" /> </td>
 </tr>
  <td width='50' align='center'><input type="submit" name="sn" value="½Å±Ôµî·Ï" OnClick="inputs();">
  </td>
    <td width='50' align='center'><input type="submit" name="skk" value="»èÁ¦" OnClick="inputs();">
  </td>
  </tr>
</table>

Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ranksa 2011-01-31 12:15:07
´ä±Û

¸¶Áö¸·¿¡ submit ÀÌ µÎ°³³ª Àִµ¥ type À» button À¸·Î ¹Ù²Ù½Ã°í
onClick ÇÔ¼ö inputs('±¸ºÐ°ª') °ú °°ÀÌ ½Å±Ôµî·Ï½Ã¿¡ ±¸ºÐ°ª
»èÁ¦½Ã¿¡ ±¸ºÐ °ªÀ¸·Î È£ÃâÇѵÚ

ranksa 2011-01-31 12:17:21
´ä±Û

ÀÚ¹Ù½ºÅ©¸³Æ® ¸¶Áö¸·¿¡ document.form.submit(); ÇüÅ·Î
ó¸®ÇÏ½Ã¸é µÉµí ÇÕ´Ï´Ù

ÀÌÀü°Ô½Ã±Û ÀÚ¹Ù½ºÅ©¸³Æ® ½ºÅ©·Ñ ¹è³Ê 2011-01-26 17:52:00
´ÙÀ½°Ô½Ã±Û Ç÷¡½Ã¼Ò½º »ç¿ë 2011-01-31 15:09:13