Jump to content

search a html page


hyster

Recommended Posts

i have a html page which is derived from an excel spreedsheet.

 

is it possable to use php to search the page and pull a row of data from it and store them as $vars ? sort of treat it as a database.

 

if so can you point me in the right direction. i tryed google with no luck.

 

cheers

Link to comment
Share on other sites

You can export your excel spreadsheet as a CSV file, and then use PHP to parse through it, grabbing what it wants, and ignoring what it doesn't. Don't ask me how to do that, I just know that it can be done lol.

 

Other than that, I'm not sure there is much else that can be done.

 

Denno

Link to comment
Share on other sites

Are you able to use something other than an html file? Saving it as a tab delimited file and reading it into a 2 dimensional array is probably your easiest bet - but it really depends on what you are trying to do. Hell, if you have WAMP setup and Navicat, you can just import it into a mysql table and go from there.

Link to comment
Share on other sites

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.