Jump to content

view data between ... and ... from URL


tetecko81sk

Recommended Posts

Does somebody know how to get for example table from url which is viewable only in html?

 

example: what i need is red color, but <div id="obsah_vnutro"> is not important. the table is important. the html source is variable.

 

thanks a lot!

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">

...

  </div><!-- levypanelobal /-->

 

  <div id="hlavnipanelobal">

  <div id="obsah_vnutro">

 

 

<P class=nadpist align=center>Aktuálna tabuľka - III. liga</P>

<TABLE border=0 cellPadding=3 cellSpacing=1 width="98%">

 

<TR class=tableh>

<TD align=middle noWrap>#</TD>

<TD noWrap>Klub</TD>

<TD align=middle noWrap>Z</TD>

<TD align=middle noWrap>V</TD>

<TD align=middle noWrap>R</TD>

<TD align=middle noWrap>P</TD>

<TD align=middle colSpan=3 noWrap>Skóre</TD>

<TD align=middle noWrap>Body</TD>

<TD align=middle noWrap>+ Body</TD></TR>

...

</TABLE>

 

 

 

<br style="clear: both" />

  </div>

<br clear=both />

 

 

 

  </div><!-- hlavnipanelobal /-->

 

 

....

 

</html>

Link to comment
https://forums.phpfreaks.com/topic/45232-view-data-between-and-from-url/
Share on other sites

my page will be on other site but i want to display table from this page: http://www.zsfz.sk/tabulky.php

 

it doesn`t matter if somebody broke up my code

 

i tried to use fopen() and readfile() but i don`t know how to delete lines before and after string

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.