Jump to content

Read table from external file and manipulate appearence


Recommended Posts

Here is my basic idea:

 

1. An external database (not mine) generates a table with data:

http://www.hemnet.se/objektlista/maklarlista?id=1138#list_top

 

2. I want to extract the data (preferably be able to select some of the columns) from the table and read it into a new table where I can control colours width etc.

 

Possible?

Yes... its possible.

 

I'm sure there are some built in libraries for parsing through an html file... and you would open the url as if it were a file... with fopen for instance. 

So just use fopen(urlOfPage, 'r'); and then you can use it as if it was a text document on your local server.

 

Can you do that part of it?... or do you need a little more help? 

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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