211.111.1.233 2005/06/22 21:28:44
|
|
ÀÌ¿ë¿¡ ºÒÆíÀ» µå·Á Á¤ÁßÈ÷ »ç°úµå¸³´Ï´Ù.
À¥¸ÞÀÏ »èÁ¦ºÎºÐ¿¡ ´ëÇÑ ¿À·ù°¡ Á¤Á¤µÇ¾ú½À´Ï´Ù.
µÎ¹ø° Áú¹®ÇØ ÁֽŠȸ¿øÁ¤º¸ º¯°æ¿¡ °üÇÑ ºÎºÐÀº Á¦·Îº¸µå¿¡ °üÇÑ Áú¹®ÀÎ°Í °°Àºµ¥¿ä... Á¦·Îº¸µå ÆÁ&Å×Å©´Ð °Ô½Ã¹°Áß À¯»çÇÑ ÆÁÀÌÀÖ¾î ¸µÅ©ÇØ µå¸³´Ï´Ù.
http://www.nzeo.com/bbs/zboard.php?id=cgi_tip&no=6871
member_modify_ok.phpÆÄÀÏÀÇ ¾Æ·¡ºÎºÐ¿¡¼
mysql_close($connect); À§¿¡´Ù°¡ ´ÙÀ½ ºÎºÐÀ» Ãß°¡Çϼ¼¿ä.
//--------------------------------------------------------------------------------
//ȸ¿øÀ̸§ º¯°æ½Ã °Ô½ÃÆÇ, ÄÚ¸àÆ®¿¡ µî·ÏµÈ À̸§º¯°æ
if($name!=$member[name]){
$da=mysql_query("select * from zetyx_admin_table", $connect);
while($data=mysql_fetch_array($da)){
mysql_query("update zetyx_board_$data[name] set name='$name' where ismember='$member[no]'", $connect);
mysql_query("update zetyx_board_comment_$data[name] set name='$name' where ismember='$member[no]'", $connect);
}
}
if($homepage!=$member[homepage]){
$da=mysql_query("select * from zetyx_admin_table", $connect);
while($data=mysql_fetch_array($da)){
mysql_query("update zetyx_board_$data[name] set homepage='$homepage' where ismember='$member[no]'", $connect);
}
}
//--------------------------------------------------------------------------------
mysql_close($connect);
°¨»çÇÕ´Ï´Ù.
modify 2005/06/22 21:32:29
|