Came across this page http://aspn.activestate.com/ASPN/Coo.../Recipe/123709
Looks like PHP can use an DSN-less Access db as well... cool huh...
Anyone tried this before?
Came across this page http://aspn.activestate.com/ASPN/Coo.../Recipe/123709
Looks like PHP can use an DSN-less Access db as well... cool huh...
Anyone tried this before?
webmaster @ http://kongtechnology.com
aku dah tgk laman tu... tak berapa faham.. kalau pakai apache win bleh function ke? tapi aku tengok \inetpub\www tu mesti IIS nye... so php code leh run tak kat apache... article tu ade tulis will work on windows only... uhuu tak sempat survey betul bz. bleh tak??
I hate when:
vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
hymns, don't know lah. no time to test. after you test, let us know ok.
thanks.
webmaster @ http://kongtechnology.com
kpyew, peewwwiiittt boleh jalan la. tapi lambat skit dia punya panggil data tak macam SQL. Not bad le bagi aku yg baru nak test benda baru cam ni. Kengkawan yg lain kalau nak test pie web tu boleh tgk... aku test pakai coding lain ari tu kat url mane tah tak ingat tapi ade s...code.net gitu le... ade snippet kat situ mengenai access pakai odbc![]()
I hate when:
vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
aku dah test command nih... boleh run kat Apache dan boleh run kat unix system tapi kene download Openlink Software then kene setup kat Client & Server. So bagi yang banyak data tu tak payah le sesusah cari server yg ade sql pakai access pun buleh...
I hate when:
vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
I've done that before.
PHP with Access at: http://www.mdcaccess.com.my
However, I've upgraded it to PHP+MSSQL2000 last year but it still uses the same libraries (PHPLib).
aha, andrew gaya hang cakap cam dah lama je tang nih. Apa laie share le skill or tips untuk dikongsi bersama![]()
I hate when:
vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
tak le.. langkah untuk guna PHP dengan Access / MSSQL dah lama dalam bentuk artikel dan tutorial. Kalo nak belajar pegi kat phpbuilder.com - ada satu tutorial tentang PHP+ODBC access.
andrew, ko tau tak camne nak add data ke odbc. aku cuma bleh query. aku test command sql tak jln. pakai aspnye command campor adok pun tak buleh... ade idea utk add/replace/update?![]()
I hate when:
vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
err.. tak berapa faham apa yang awak nak?
dah create DSN belum?
Kalo sudah, senang je guna PHP untuk buka database odbc (Access/MSSQL2000) dan guna SQL commands (update, create, delete etc...)
Kalau guna PHPLIBs, dier kena interface dengan ODBC, so kena create DSn connection dalam ODBC, baru running SQL command kat ACCESS.MDB. Kalau ADODB, rasanya sama aja cara dia.
aha bazet aku tak guna phplibs, cuma terus pakai DSN. ODBC le tu... tapi tak leh guna command sql. insert/update
andrew, aku dah buat semua tu, cuma bleh query je... delete pong x bleh. lagikan insert... ade idea?
I hate when:
vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
aku rasa grant problem, sebab issue query boleh..kenapa issue add,update,delete tak boleh ?
maksud ko grant problem? err aku pakai xp, takkan permission kot? aku as root plak tu... any sample command tu add/delete/update for ODBC? Buku aku tak detail sangat lers...
I hate when:
vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
There are currently 1 users browsing this thread. (0 members and 1 guests)