11-1-4 ªO¥D¦^Âкô¶»P¦^Âиê®ÆÀx¦s
¡@¼ÊºÙ: ¤p»x ¡@ÀY»Î: ´¿¸g¤]¬O¤ô¹q¤u
ºÞ²zû
- ©«¤l
- 1190
- ¥DÃD
- 394
- ºëµØ
- 113
- ¿n¤À
- 1747
- ÂI¦W
- 1
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 200
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2024-11-25
|
11-1-4 ªO¥D¦^Âкô¶»P¦^Âиê®ÆÀx¦s
|
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
|
|
|
|
|
¡@¼ÊºÙ: ¤p»x ¡@ÀY»Î: ´¿¸g¤]¬O¤ô¹q¤u
ºÞ²zû
- ©«¤l
- 1190
- ¥DÃD
- 394
- ºëµØ
- 113
- ¿n¤À
- 1747
- ÂI¦W
- 1
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 200
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2024-11-25
|
ª¾¹D¦p¦ó±N¯S©wªººô¤Íµo¨¥¸ê®Æ¨q¦bªí³æ¤¤¶Ü¡H¨ä¹ê«Ü²³æ¡A§Ṳ́£¹L¬O±N¸ê®Æ®w¤¤ªº¸ê®Æ¨ú¥X¨Ó¡AµM«á¨q¦bªí³æÄæ¦ì¤¤¦Ó¤w¡G
¡yºô¤Í©m¦W¡zÄæ¦ìºô¶±Ôz¼ÐÅÒ- <td bgcolor="#CCCCFF"><font size="2">
- <?=$fielddatas["ºô¤Í©m¦W"];?></font></td>
½Æ»s¥N½X ¡y¯d¨¥¥DÃD¡zÄæ¦ìºô¶±Ôz¼ÐÅÒ- <td bgcolor="#CCCCFF"><font size="2">
- <?=$fielddatas["¯d¨¥¥DÃD"];?></font></td>
½Æ»s¥N½X ¡y¯d¨¥¤º®e¡zÄæ¦ìºô¶±Ôz¼ÐÅÒ- <td bgcolor="#CCCCFF"><font size="2">
- <?=$fielddatas["¯d¨¥¤º®e"];?></font></td>
½Æ»s¥N½X ¨ä¹ê§ÚÌ¡yªO¥D¦^ÂЪí³æ¡zªº«ÂI¬O¦bªO¥D¦^ÂÐÄæ¦ì¤W¡AªO¥D¦b¦^ÂÐÄæ¦ì¤¤©Ò¶ñ¤Jªº¸ê®Æ¡A¥²¶·°eµ¹§Ú̳B²zªO¥D¦^Âиê®ÆªºPHPµ{¦¡¡yanssave.php¡z¨Ó¬ö¿ý¥H¤Î³B²z³o¨Ç¦^Âиê®Æ¡C·íªO¥D¶ñ¼g¦n¦^Âеo¨¥ªº¸ê®Æ«á«ö¤U¡y°e¥X¦^ÂСz«ö¶s«á¡Aªí³æ¤¤ªº¸ê®Æ¤º®e´N·|¥H¡yPOST¡zªº¤è¦¡¥ÑSEVERºÝŪ¨ú¡AµM«á±N¸ê®Æ¤º®e¥æ¥Ñ³B²z¦Ñ®v¦^Âиê®ÆªºPHPµ{¦¡¡yanssave.php¡z¨Ó±N¸ê®Æ¤º®e¼g¤J¸ê®Æ®w¡C- <form method="POST" action="anssave.php">
½Æ»s¥N½X ¯S§Oª`·N¡G·í§Ú̱N¸ê®Æ±q¸ê®Æ®wŪ¥X«á¡A¥²¶·©óµ²§ô«á±N¥´¶}ªº³s½uÃö³¬°_¨Ó¡A¤¤Â_»P¸ê®Æ®wªº³sµ²¡]¨ä¹ê¡A·íºô¶µ{¦¡±Ôz¥þ³¡°õ¦æ§¹²¦¡A±N¸ê®Æ¤U¸ü¨ìÂsÄý¾¹®É¡A´N·|¦Û°Ê®ø·À¤F¡^¡A©Ò¥H§ÚÌ¥²¶·¦bºô¶¤¤¦A¥[¤J¤U¦C³o¬qPHPµ{¦¡±Ôz¡G- <?
- mysql_close($conn);
- ?>
½Æ»s¥N½X |
|
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
|
|
|
|
|
¡@¼ÊºÙ: ¤p»x ¡@ÀY»Î: ´¿¸g¤]¬O¤ô¹q¤u
ºÞ²zû
- ©«¤l
- 1190
- ¥DÃD
- 394
- ºëµØ
- 113
- ¿n¤À
- 1747
- ÂI¦W
- 1
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 200
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2024-11-25
|
ans.php- <?
- $ID = $_REQUEST["ID"];
- //³sµ²MySQL Server
- $conn = mysql_connect("localhost", "root", "12345a");
- //¿ï¾Ü¸ê®Æ®w
- mysql_select_db("Message", $conn);
- //«ü©w´£¨ú¸ê®Æªº®Õ¹ï¦r¤¸ªí
- mysql_query("set character set big5");
- //«Ø¥ß¬d¸ß¦r¦ê
- $SQL="SELECT * FROM allmessage WHERE ½s¸¹=" . $ID;
- //±N¦^¶Çµ²ªG¦s©ñ©óÅܼƤ¤
- $datalist=mysql_query($SQL);
- //±N¸ê®Æ¿ýÂà´«¬°Äæ¦ì°}¦C¶°¦X
- $fielddatas=mysql_fetch_array($datalist);
- ?>
- <html>
- <head><title>³Â»¶®a±Ú¯d¨¥ªO</title>
- <meta http-equiv="Content-Type" content="text/html; charset=big5">
- </head>
- <body>
- <form method="POST" action="anssave.php">
- <input type="hidden" name="ID" value="<?=$ID;?>">
- <div align="center"><center><p><strong><font size="5">ªO¥D·N¨£¦^ÂÐ</font></strong></p>
- </center></div><div align="center"><center>
- <table border="0">
- <center></center>
- <TR>
- <td bgcolor="#CCCCFF"><font color="blue" size="2">ºô¤Í©m¦W</font></td>
- <td bgcolor="#CCCCFF"><font size="2"><?=$fielddatas["ºô¤Í©m¦W"];?></font></td>
- </tr>
- <tr>
- <td bgcolor="#CCCCFF"><font color="blue" size="2" >¯d¨¥¥DÃD</font></td>
- <td bgcolor="#CCCCFF"><font size="2"><?=$fielddatas["¯d¨¥¥DÃD"];?></font></td>
- </tr>
- <tr>
- <td bgcolor="#CCCCFF"><font color="blue" size="2" >¯d¨¥¤º®e</font></td>
- <td bgcolor="#CCCCFF"><font size="2"><?=$fielddatas["¯d¨¥¤º®e"];?></font></td>
- </tr>
- <tr>
- <td bgcolor="#CCCCFF"><font size="2" color="#0000FF">ªO¥D</font><font color="blue" size="2" >µªÂÐ</font></td>
- <td bgcolor="#CCCCFF"><font size="2"><textarea rows="5" name="Ans" cols="39"><?=$fielddatas["ªO¥D¦^ÂÐ"];?></textarea></font></td>
- </tr>
- </table>
- </center></div><div align="center"><center><input type="submit"
- value="°e¥X¦^ÂÐ">
- </center></div>
- <div align="center"><center> [<a href="guest.asp"><font color="#FF0000"><font onmouseover="this.style.color='#0000BB'" onmouseout="this.style.color='red'">ªð¦^¯d¨¥ªO</font></font></a>]
- </center></div>
- </form>
- <?
- mysql_close($conn);
- ?>
- </body>
- </html>
½Æ»s¥N½X |
|
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
|
|
|
|
|
¡@¼ÊºÙ: ¤p»x ¡@ÀY»Î: ´¿¸g¤]¬O¤ô¹q¤u
ºÞ²zû
- ©«¤l
- 1190
- ¥DÃD
- 394
- ºëµØ
- 113
- ¿n¤À
- 1747
- ÂI¦W
- 1
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 200
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2024-11-25
|
Àx¦s¦^Âиê®Æ
·íªO¥D¦b¡yªO¥D¦^ÂЪí³æ¡z¤¤¶ñ¼g¦n¦^Âиê®Æ¡AµM«á«ö¤U¡y°e¥X¦^ÂСz«ö¶s¡Aªí³æ¤¤ªº¸ê®Æ¤º®e´N·|¥H¡yPOST¡zªº¤è¦¡¥ÑSEVERºÝŪ¨ú¡A¦]¬°§Ú̦bªí³æ¶Ç°eªºAction°Ñ¼Æ«ü©wServerºÝ³B²z¦¹¤@ªí³æ¸ê®Æ¤º®eªºµ{¦¡¬°¡yanssave.php¡z¡A¦]¦¹¡A§ÚÌ´N¥²¶·¨Ó¼¶¼g¯à°÷³B²z³o¨Ç·N¨£¸ê®ÆªºPHPµ{¦¡¡yanssave.php¡z¡C
n¥H¤U´N¬OPHPµ{¦¡¡yanssave.php¡z§¹¾ãªºµ{¦¡¤º®e¡G
anssave.php- <?
- $ID =$_REQUEST["ID"];
- $Ans=$_REQUEST["Ans"];
- //³sµ²MySQL Server
- $conn = mysql_connect("localhost", "root", "12345a");
- //¿ï¾Ü¸ê®Æ®w
- mysql_select_db("Message", $conn);
- //«ü©w´£¨ú¸ê®Æªº®Õ¹ï¦r¤¸ªí
- mysql_query("set character set big5");
- //«Ø¥ß¬d¸ß¦r¦ê
- $SQL="update allmessage set ªO¥D¦^ÂÐ='" . nl2br($Ans) . "',ªO¥D¦^ÂЮɶ¡='" .
- date("Y-m-j H:i:s") . "' WHERE ½s¸¹=" . $ID;
- //¼g¤J¸ê®Æ
- mysql_query($SQL);
- header("Location: guest.php");
- ?>
½Æ»s¥N½X |
|
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
|
|
|
|
|