CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 2531|Reply: 3

Read from html page

[Copy link]
Post time 7-12-2008 08:26 PM | Show all posts |Read mode
Salam semua. Sekarang ni aku on da way nak buat satu system berkaitan dengan recommendation. Aku develop system ni menggunakan Php. Masalah yang aku hadapi ialah untuk read data dari html page. Contoh dekat page tu ada satu table yang ada id product dan harga product tersebut. So aku nak wat system ni boleh baca id dan harga tersebut. Ada sape saper leh bagi cadangan x.Macam mana nak wat benda ni?
Reply

Use magic Report


ADVERTISEMENT


Post time 8-12-2008 11:54 AM | Show all posts
Ada 2 approach ko bley wat ... guna client-side programming atau server-side ... kalo x nk kesah browser compatibility ... pakai server-side processing la ... tp kalo gune client-side (javascript) nye processing lagi senang ... kalo ko boleh bagi contoh table yg ko nk pakai tu ... aku bley tunjuk caner nk wat ...

Kalo ko nk try sendiri ... utk PHP refer sini PHP DOM Functions http://my.php.net/dom ... kalo javascript lak HTML DOM ... tgk kat http://www.w3schools.com/htmldom/default.asp ...
Reply

Use magic Report

 Author| Post time 9-12-2008 09:52 AM | Show all posts
ok bro..thanks..Aku test stadi dulu DOM ni..nanti kalau xdapat..
aku tanya k..Thanks a lot..Benda ni lah yang aku nak cari..tapi
xtahu nama dier aper..xtahu nak googling aper...ehehe
Reply

Use magic Report

Post time 9-12-2008 01:38 PM | Show all posts
kalo ko sangkut nnt ko post ar kt sini ... kalo bley tolong nnt aku tolong ...
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

24-1-2025 05:43 AM GMT+8 , Processed in 0.046170 second(s), 16 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list