µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
PHP
»
PHP+MySQL ¤Jªù¹ê§@
» 4-1-4 ¦r¦êµù¼Ð°}¦C
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
4-1-4 ¦r¦êµù¼Ð°}¦C
¤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-18 19:44
|
¥u¬Ý¸Ó§@ªÌ
4-1-4 ¦r¦êµù¼Ð°}¦C
4-1-4 ¦r¦êµù¼Ð°}¦C
¦r¦êµù¼Ð°}¦C¨ä¹ê¤]¬O«D³sÄòµù¼Ð°}¦C¡A³q±`°}¦Cªºµù¼Ð¯Á¤Þ³£·|¥H¾ã¼Æ¨Ó§@¬°ÃѧO½s¸¹¡A¦ýPHP¤¤¤¹³\§ÚÌ¥H¦r¦ê¨Ó§@¬°µù¼ÐÃѧO¯Á¤Þ¡G¡]ex04_08.php¡^
<?
$Myarray["charles"] = "¤p»x";
$Myarray["egge"] = "¤p³½";
$Myarray["chiey"] = "¤pÃQ";
$Myarray["connie"] = "µL§Àºµ";
foreach ($Myarray as $value)
{
echo "$value <br>";
}
?>
½Æ»s¥N½X
¦pªG¨Ï¥Î¦r¦êµù¼Ð°}¦C¡A¨ºarray()¨ç¼ÆÁÙ¥i¥H¨Ï¥Î¶Ü¡H·íµM¥i¥H¡A¦ý¬O¥²¶·°t¦X¡y=>¡]«ü¼Ð¡B«ü¦V¡^¡z¹Bºâ¤l¡A§â¦r¦êµù¼Ð¸ò¤¸¯ÀȤÀ§OÂ\©ñ¦b¡y=>¡]«ü¼Ð¡B«ü¦V¡^¡z¹Bºâ¤l¥ª¥k¨â°¼¡G¡]ex04_09.php¡^
<?
$Myarray=array("charles" => "¤p»x",
"egge" => "¤p³½",
"chiey" => "¤pÃQ",
"connie" => "µL§Àºµ");
foreach ($Myarray as $value)
{
echo "$value <br>";
}
?>
½Æ»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-18 19:45
|
¥u¬Ý¸Ó§@ªÌ
foreach°j°éªº¶i¶¥¨Ï¥Î
³q±`§Ú̬O¤£»Ýn¨Ï¥Î¨ì¤¸¯Àªºµù¼ÐÈ¡A¦ý¬O±z¬JµM¨Ï¥Î¦r¦êµù¼Ð°}¦C¡A·Q¥²¨Ï¥Î¨ìµù¼ÐȪº¾÷·|´N¤ñ¸û¤j¤F¡A¼Ð·Çªºforeach°j°é±Ôz´N¤£°÷¥Î¤F¡A³o®ÉÔ¥i¥H¨Ï¥Î¶i¶¥ªºforeach°j°é±Ôz¡G
foreach°j°é±Ôz®æ¦¡
foreach(°}¦C as $key => $value)
{
±Ôz°Ï¶ô;
}
½Æ»s¥N½X
¤W¦¡¤¤ªº¡u$value¡v¥u¬O¤@ӼȦsÅܼơA¥Î¨ÓÁ{®É¸Ë¸ü°}¦C¤¤ªº¤¸¯À¸ê®ÆÈ¡A¦Ó¡u$key¡v¤]¬O¤@ӼȦsÅܼơA¥Î¨ÓÁ{®É¸Ë¸ü°}¦C¤¤ªº¤¸¯Àµù¼Ð¡A¨Ò¦p¡G¡]ex04_10.php¡^
¤U¸ü
(26.67 KB)
2011-4-18 19:45
¹Ï4-6 ex04_10.php¡C
<?
$Myarray=array("charles" => "¤p»x",
"egge" => "¤p³½",
"chiey" => "¤pÃQ",
"connie" => "µL§Àºµ");
foreach ($Myarray as $key => $value)
{
echo "¤¸¯Àµù¼Ð: $key ; ¤¸¯ÀÈ: $value <br>";
}
?>
½Æ»s¥N½X
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
TOP
ÀR«ä¦Û¦b :
¯à·F¤£·F¡A¤£¦pW·F¹ê·F¡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¯»µ·