Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach (html->find("p[class=article]" as $judul){
- echo $judul->plaintext;
- }
- foreach (html->find("a[class=article-sub]" as $judul){
- echo $penulis->plaintext;
- }
- foreach (html->find("a[class=article-action]" as $judul){
- echo $link->plaintext;
- }
- //bagaimana menyimpan data dari $judul $link ke 1 table
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement