Jump to content

livewire1974

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

livewire1974's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Sorry, mistake. All sorted now Thanks for helping out, spent a lot of time messing with this
  2. But that will select all tables in the HTML file, and not just the tables with class='price' ?
  3. Hi, thanks for your reply. I am trying to select all of the table, so everything from the opening tag to the </table> tag. Is this possible? Thanks in advance
  4. I am trying to extract a table from HTML, here is the HTML code for the start of the table. <table class='price' id='comp' style='clear:both;display:none'> But when I use this PHP code, no matches are found preg_match("/<table class='price' id='comp' style='clear:both;display:none'>.*?<\/[\s]*table>/s", $buffer, $matches); print_r($matches); I guess there is something wrong with the preg_match statement?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.