µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
PHP
»
PHP+MySQL ¤Jªù¹ê§@
» 13-3-3 ¸Õ¨÷µ{¦¡ºô¶
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
13-3-3 ¸Õ¨÷µ{¦¡ºô¶
¤p»x
µoµu®ø®§
¥[¬°¦n¤Í
¤p»x
(¤p»x)
·í«eÂ÷½u
´¿¸g¤]¬O¤ô¹q¤u
UID
9
©«¤l
1190
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ª÷¿ú
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
¦b½u®É¶¡
490 ¤p®É
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-11-25
¡@¼ÊºÙ:
¤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
1
#
¸õÂà¨ì
»
˧Ǭݩ«
¥´¦L
¦rÅé¤j¤p:
t
T
µoªí©ó 2011-4-24 15:22
|
¥u¬Ý¸Ó§@ªÌ
13-3-3 ¸Õ¨÷µ{¦¡ºô¶
13-3-3 ¸Õ¨÷µ{¦¡ºô¶
¦b¡y½u¤W¦Ò¸Õ¡Ð¸Õ³õ¤jªù¡zºô¶¤¤¡A§Q¥ÎVB Script µ{¦¡Àˬdªí³æÄæ¦ì¸ê®Æªº¶ñ¼g»PPHPµ{¦¡½T»{¨ü´ú¾Ç¥Íªº¨¤ÀµL»~«á´N·|¶i¤J¡y½u¤W¦Ò¸Õ¡Ð¸Õ¨÷ºô¶¡z¨Ó¶i¦æ´úÅç¡A¦b¡y½u¤W¦Ò¸Õ¡Ð¸Õ¨÷ºô¶¡zªºPHPµ{¦¡¾÷¨î¤¤¤À¬°¨â¤j³¡¤À¡A¤@¬°«Ø¥ß¸ê®Æ®w³sµ²ª«¥ó(Connection)¡B¦s¨ú¸ê®Æ¤º¸ê®Æªíªº¸ê®Æ¡A¥t¤@¬°±NŪ¨ú¶i¨Óªº¡y¦Ò¸ÕÃD¥Ø¡zÅã¥Ü¦bºô¶¤¤Åý¨ü´ú¾Ç¥Í§@µª¡C
³sµ²¶}±Ò¸ê®Æ®w
¡@º¥ý§ÚÌ¥ý¨Ó¬Ý¬Ý¸ê®Æ®w¶i¦æ³sµ²»P¦s¨ú¸ê®Æ®w¤º¸ê®Æªíªº¸ê®ÆªºPHPµ{¦¡¬O¦p¦ó¹B§@ªº¡G
<?
//©Ó±µ¨Ó¦ÛIndoor.phpªº¾Ç¸¹¡B©m¦W¸ê®Æ
$studentname=$_REQUEST["studentname"];
$number=$_REQUEST["number"];
//¶}±Òexam¸ê®Æ®w¤¤ªºask(ÃD¥Ø)¸ê®Æªí
//³sµ²MySQL Server
$conn = mysql_connect("localhost", "root", "12345a");
//¿ï¾Ü¸ê®Æ®w
mysql_select_db("exam", $conn);
//«ü©w´£¨ú¸ê®Æªº®Õ¹ï¦r¤¸ªí
mysql_query("set character set big5");
//´£¨ú¸ê®ÆªºSQL©R¥O¦r¦ê
$SQL="Select * From ask Order by ÃD¸¹";
//¶i¦æ¸ê®Æ¬d¸ß
$RS=mysql_query($SQL);
?>
½Æ»s¥N½X
¼Ó¥D¼ö©«
½×¾Â¤£Åý¸ê¾ú¤ñ¸û²Lªº¤H¤U¸ü¬d¬Ýªþ¥óªº¥Î·N
EXCEL±MÄÝ°Q½×°Ï¦Û§Y¤é°_¤¤¾Ç¥Í¥H¤W·|û¤è
³Â»¶®a±Ú°Q½×°Ï ³q¥Îª©³W
OFFICE °ò¦±Ð¾Ç¼Æ¦ì¤Æ
ATX ¹q·½¨ÑÀ³¾¹¤â°Ê±Ò°Ê(¤£±µ¥D¾÷ªO±Ò°Ê)
¦Ò¼{Ãö³¬½×¾Âºô¯¸
³Â»¶®a±Ú°Q½×°ÏÁô¨pÅv¬Fµ¦»¡©ú
³Â»¶®a±Ú°Q½×°Ï ¸Û¼xª©¥D
¥Ñ½׾ÂÂà¶iªº¤¤¾Ç¥Íµ¥¯Å¥H¤W·|û,½ÐÃöª`!
14-2 ¸ê®Æ®w¹Ï¤ù¦s¨ú
¦¬ÂÃ
¤À¨É
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
¤p»x
µoµu®ø®§
¥[¬°¦n¤Í
¤p»x
(¤p»x)
·í«eÂ÷½u
´¿¸g¤]¬O¤ô¹q¤u
UID
9
©«¤l
1190
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ª÷¿ú
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
¦b½u®É¶¡
490 ¤p®É
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-11-25
¡@¼ÊºÙ:
¤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
2
#
µoªí©ó 2011-4-24 15:23
|
¥u¬Ý¸Ó§@ªÌ
¿é¥X¸Õ¨÷
±NŪ¨ú¶i¨Óªº¡y¦Ò¸ÕÃD¥Ø¡zÅã¥Ü¦bºô¶¤¤Åý¨ü´ú¾Ç¥Í§@µª¡A³o¬O¡y½u¤W¦Ò¸Õ¡Ð¸Õ¨÷ºô¶¡zªº¥t¤@ÓPHPµ{¦¡¾÷¨î¡A§Ú̱N³z¹L¦¹¾÷¨î§âŪ¨úªº¸ê®Æ®w¦ÒÃD¸ê®Æ¿é¥X¦Üºô¶¤¤¡C
¤U¸ü
(47.57 KB)
2011-4-24 15:23
¹Ï13-16 »â¨ú¸Õ¨÷¡C
<?
//Åã¥Ü¦ÒÃD
//Ū¨ú¸ê®Æªíªº¸ê®Æ¿ýª½¨ì¸ê®Æ¿ý¥þ«×Ū¨ú§¹²¦
//±N¸ê®Æ¿ýÂà´«¬°Äæ¦ì°}¦C¶°¦X
While (($fielddatas=mysql_fetch_array($RS)))
{
//Åã¥ÜÃD¥Ø¤Î°t¤À
echo "<hr size=1><font color=blue>" . $fielddatas[2]
. "¡B" . $fielddatas[3] . "  (" . $fielddatas[9] . "¤À)</font><br>";
//Åã¥Ü³Æ¿ïªºµª®×¶µ¥Ø
For($I=1;$I<=4;$I++)
{
echo "<font color=red>¡]" . $I . "¡^</font><input type=Radio "
. "name='No" . $fielddatas[2] . "' value=" . $I . ">" .
$fielddatas["µª®×" .$I] ."<br>";
}
}
?>
½Æ»s¥N½X
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
TOP
ÀR«ä¦Û¦b :
¤@ӯʤfªºªM¤l¡A¦pªG´«¤@Ó¨¤«×¬Ý¥¦¡A¥¦¤´µM¬O¶êªº¡C
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
EXCEL±MÄÝ°Q½×°Ï
Excel£¸¯ë°Ï
Excelµ{¦¡°Ï
¶i¶¥À³¥Î±M°Ï
OFFICE ¨t¦C
Word
PowerPoint
Access
Office¤£¤À°Ï
µ{¦¡»y¨¥
VB »P VB.Net
C »P C#
Java »P J#
µ{¦¡³]p¤£¤À°Ï
¸ê®Æ®w
ORACLE
My SQL
MS SQL
ºô¶³]p
ASP »P ASP.NET
PHP
PHP+MySQL ¤Jªù¹ê§@
JavaScript
FLASH / ActionScript
HTM/ HTML/ CSS
ºô¶³]p¤£¤À°Ï
¹q¸£»P§@·~¨t²Î
¹q¸£¦UºØµwÅé°Q½×
¤@¯ë¹q¸£³nÅé°Q½×
½×¾Â¨Æ°È
ºÞ²z¤½§i
§ë¶D¤Ï¬M
·s¤â´ú¸Õ
·R ¡E ¥Í¬¡
¤½¯q§G§iÄæ
¥Í¬¡»P·P°Ê
[¦¬Âæ¹¥DÃD]
[Ãöª`¦¹¥DÃDªº·s¦^´_]
[³q¹L QQ¡BMSN ¤À¨Éµ¹ªB¤Í]
¥Ó½Ð¤Í±¡Ãì±µ
Facebook¯»µ·