Jump to content


Photo

PHP Simple HTML DOM Parser

phpsimplehtmldom parser

  • Please log in to reply
1 reply to this topic

#1 soundsticks

soundsticks

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 13 June 2013 - 12:35 AM

I would like to get the certain information but I couldn't parser it, it come with blank information.

<?php
include_once('./simple_html_dom.php');

$html = file_get_html('http://www1.abs33.com/rs/index.php?result&date=05-06-2013');

foreach ($html->find('*[class1]') as $a)
    foreach ($a->find('ul') as $q)
        echo $q;
?>


#2 trq

trq

    Advanced Member

  • Administrators
  • 31,022 posts
  • LocationSydney, Australia.

Posted 13 June 2013 - 02:23 AM

Awesome description.

http://thorpesystems.com | http://proemframework.org | http://github.com/trq

SmtpCatcher - A very simple mock sendmail useful for testing PHP mail scripts.
OPM - My Linux package manager.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com