µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
PHP
»
PHP+MySQL ¤Jªù¹ê§@
» ²Ä7³¹ ³sµ²»P«Ø¥ß¸ê®Æ®w(7-1 PHP»PAccess¡BMS SQLªº³sµ²)
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
[±Ð¾Ç]
²Ä7³¹ ³sµ²»P«Ø¥ß¸ê®Æ®w(7-1 PHP»PAccess¡BMS SQLªº³sµ²)
¤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-23
¡@¼ÊºÙ:
¤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-23
1
#
¸õÂà¨ì
»
¥¿§Ç¬Ý©«
¥´¦L
¦rÅé¤j¤p:
t
T
µoªí©ó 2011-4-20 08:14
|
¥u¬Ý¸Ó§@ªÌ
[±Ð¾Ç]
²Ä7³¹ ³sµ²»P«Ø¥ß¸ê®Æ®w(7-1 PHP»PAccess¡BMS SQLªº³sµ²)
²{¤µªººô¸ô¹q¤l°Ó°È§K¤£¤Fn»P¸ê®Æ®w§è¤WÃö«Y¡A³o¸Ì©Ò«üªº¸ê®Æ®w¬O¡GWeb Server ¤Wªº¸ê®Æ®w³á¡I¨ä¹ê¸ê®Æ®w¤£´N¬O¤@ÓÀɮסA¦ý¬O¡A¥¦¬O¤@Óµ²ºc¤ÆÀx¦s¸ê®Æªº®æ¦¡ÀɮסC¨ä¹ê§Ú̱`±`¦b¨Ï¥Î¸ê®Æ®w¦Ó¤£¦Ûª¾¡A«ç»ò»¡¡H§A¦³¨S¦³¾Þ§@¹L.mdb ªºÀÉ®×°Ú¡H¥¦´N¬O¤@Ó Access ®æ¦¡ªº¸ê®Æ®wÀɮסC
7-1 PHP»PAccess¡BMS SQLªº³sµ²
ÁöµM¥»®Ñªº¸ê®Æ®w«ÂI¤£¬OAccess©Î¬OMS SQL¡A¦ý¬O¬°¤FÅý±z¤F¸ÑPHP¨Ã«D©w«áºÝ¸ê®Æ®w¥u¯à¨Ï¥ÎMySQL¡A©Ò¥H¦b¥»¸`¤¤±Nµy·L¤¶²Ð£¸¤UPHP»PAccess¡BMS SQLªº³sµ²¤èªk¡A¦b¥»¸`¤§«áªº®ÑÄy¤º®e¡A±N§¹¥þ°w¹ï¥»®Ñªº¥D¨¤¥t£¸¥D¨¤¡uMySQL¡v¡A¦b¦¹¥ý¦V¦U¦ìŪªÌ³ø§i¤@¤U¡C
n¹ï¸ê®Æ®w¦s¨ú¸ê®Æ¥²¶·¥ý¶i¦æ¸ê®Æ®wªº³sµ²ªº°Ê§@¡A´N¦p¦P§ÚÌnŪ¨úÀɮ׸ê®Æ®É¥Îfopen()¨ç¼Æ¶}±ÒÀɮפ@¯ë¡An¹ïAccess¡BSQL Server¶i¦æ³sµ²°Ê§@¥i¨Ï¥ÎODBC¸ê®Æ®w¨ç¼Æ¡G¡uodbc_connect()¡v©Î¡uodbc_pconnection()¡v¨ç¼Æ¡C
odbc_connect() ¨ç¼Æ
resource odbc_connect ( string dsn, string user, string password [, int cursor_type])
½Æ»s¥N½X
·í¸ê®Æ®w³sµ²¦¨¥\«h¦^¶Ç³s½uªº½s¸¹¡AY³s½u¥¢±Ñ«h¦^¶Ç0¡C
odbc_pconnect() ¨ç¼Æ
resource odbc_pconnect ( string dsn, string user, string password [, int cursor_type])
½Æ»s¥N½X
·í¸ê®Æ®w³sµ²¦¨¥\«h¦^¶Ç³s½uªº½s¸¹¡AY³s½u¥¢±Ñ«h¦^¶Ç0¡C
odbc_close() ¨ç¼Æ
void odbc_close ( resource connection_id)
½Æ»s¥N½X
odbc_connect()¨ç¼Æ¬O¼È®É©Êªº³s½u¡A¨C¦¸³sµ²³£·|¨Ï¸ê®Æ®w²£¥Í¤@Ó·sªº³s½uªÌ¡A©Ò¥H¨C¦¸³sµ²«á¡A·í¤£»Ýn¦¹³s½u®É´N¸Ó¥Î¡uodbc_close()¡v¨ç¼ÆÃö³¬³sµ²¡A¤£µM±zªº¸ê®Æ®w©Î¦øªA¾¹t¾á¤Ó«´N·|¥X°ÝÃD¡C
odbc_pconnect()¨ç¼Æ¬O¿W¥e©Êªº³s½u¡A·í»P¸ê®Æ®w©¹ªðªº¸ê®Æ¤j®É¡A¥i¨Ï¥Î¦¹¨ç¼Æ³sµ²¸ê®Æ®w¡A§Y¨ÏPHPµ{¦¡¤w¸g°õ¦æ§¹²¦¡A¦¹³s½u¨ÌµM¦s¦b¡AY¦¹³s½u¼È®É¨S¦³¥Î¨ì«h³s½u¶i¤J¡u¥ð¯v¡]sleep¡^¡vª¬ºA¡C
¼Ó¥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-23
¡@¼ÊºÙ:
¤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-23
2
#
µoªí©ó 2011-4-20 08:16
|
¥u¬Ý¸Ó§@ªÌ
¹ï©óSQL Server¡A°£¤F¥i¨Ï¥ÎODBC¸ê®Æ®w¨ç¼Æ¸s¥~¡APHP¥ç´£¨Ñ¤FSQL Server±MÄݪºMSSQL¨ç¼Æ¸s¡A¦]¦¹³sµ²SQL Server¸ê®Æ®w¤]¥i¥H¨Ï¥Î¡umssql_connect()¡v©Î¡umssql_pconnection()¡v¨ç¼Æ¡A¦pªG±zªº¸ê®Æ«áºÝ¬°SQL Server¡A«Øij±z¨Ï¥ÎSQL Server±MÄݪºMSSQL¨ç¼Æ¸s¡C
mssql_connect() ¨ç¼Æ
int mssql_connect ( [string servername [, string username [, string password]]])
½Æ»s¥N½X
·í¸ê®Æ®w³sµ²¦¨¥\«h¦^¶Ç³s½uªº½s¸¹¡AY³s½u¥¢±Ñ«h¦^¶Ç0¡C
mssql_pconnect() ¨ç¼Æ
int mssql_pconnect ( [string servername [, string username [, string password]]])
½Æ»s¥N½X
·í¸ê®Æ®w³sµ²¦¨¥\«h¦^¶Ç³s½uªº½s¸¹¡AY³s½u¥¢±Ñ©Îµo¥Í¿ù»~«h¦^¶Çfalse¡C
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
TOP
ÀR«ä¦Û¦b :
¦n¨Æn´£±o°_¡A¬O«Dn©ñ±o¤U¡A¦¨´N§O¤H§Y¬O¦¨´N¦Û¤v¡C
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
Excelµ{¦¡°Ï
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¯»µ·