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

´Ð³×ÀÓ

vopos

À̸ÞÀÏ

vopos@happycgi.com

Á¦¸ñ

´äº¯: checkbox »ç¿ë¹ý(?) °¥ÄÑ Áà¿ä~
³»¿ë
>´ë°­µµ ÀÌÇØ°¡ ÀüÇô ¾ÈµÇ´Â±º¿ä...
>Á»´õ ÀÚ¼¼È÷ °¥ÄÑ ÁÖ½Ã¸é ¾ÈµÉ±î¿ä?
>°í·³ ¹ÞÀº php ¿¡¼­
>
>foreach $delnum($del_array[]){
>...
>}
>
>ÀÌ·¸°Ô Çϳª¿ä?

¾È³çÇϼ¼¿ä, HappyCGI ÆÀÀÇ VoposÀÔ´Ï´Ù.

±×·³ ¿À´ÃÀº Á¶±Ý¸¸(?) ´õ ÀÚ¼¼È÷ Çغ¾½Ã´Ù.

// $del_arrayÀÇ key¿Í value¸¦ listÇÔ¼ö¸¦ ÀÌ¿ëÇؼ­ ÇϳªÇϳª¾¿..

// db_connect, select_db¸¦ Çؾ߰ÚÁÒ?

while (list(, $value) = each ($del_array)) {


do {

$sql = "DELETE FROM table_name WHERE id= $value ";

$result = mysql_query($sql);

} while ($result);


}


if ($result) {
?>
¼±ÅÃÇÑ ÆÄÀÏÀÌ ±ø±×¸® »èÁ¦µÇ¾ú½À´Ï´Ù.
}
else {
?>
Something happened to my code. Error !!!!
}

¾Ñ~ ³Ê¹« ÀÚ¼¼ÇÏ°Ô Çß´å~. Çغ¸¼¼¿ä. Áö±Ý ÀáÀÌ ¿Í¼­ °¡¹°°¡¹°ÇÑ°Ô
¸Â´ÂÁö ¸ð¸£°Ú¾î¿ä.

- Vopos
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û ¿µ¹® »çÀÌÆ®¸¦ ¸¸µå´Âµ¥.. 2000-10-12 01:15:31
´ÙÀ½°Ô½Ã±Û ¹«ÁøÀå ±Ã±ÝÇؼ­¿ä.... 2000-10-12 11:39:44