Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5950903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:27:37+00:00 2026-05-22T17:27:37+00:00

I’ve made a database,and for each row I’ve created a new php page and

  • 0

I’ve made a database,and for each row I’ve created a new php page and saved some values in the DB table.

Now, I want to insert the values from the PHP page that I’ve forgot to insert in the DB.

I only have 3 values. I know for each row the PHP page (url) from where I need to grab the values.

The values show up in the php page like this

   <table>
        <tr>
            <td>
            Column1
            </td>
            <td>
            Value-c1
            </td>
        </tr>

        <tr>
            <td>
            Column2
            </td>
            <td>
            Value-c2
            </td>
        </tr>

        <tr>
            <td>
            Column3
            </td>
            <td>
            Value-c3
            </td>
        </tr>

</table>

The page containg this table has other content too. I just need to take Value-c1 and insert it into Column1 in the MySQL table.

How can I get the content of the PHP page (having the URL) and also get the specific values that I want.

EDIT:

I have multiple static PHP pages (like 100) and I want to make a PHP script that will go through all the pages (I know their urls) and get from each page the values from the table and insert them into a DB.

Is that clear now? 😀

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:27:38+00:00Added an answer on May 22, 2026 at 5:27 pm

    What you need is called sreen (or web) scraping. See http://en.wikipedia.org/wiki/Web_scraping for details.

    Take a look at

    • How do you parse and process HTML/XML in PHP?
    • html scraping and css queries
    • http://www.bradino.com/php/screen-scraping/ – this a simple text parser (uses strpos&regexp). Its recommended to avoid these as they are pretty hard to maintain, but it may be easier in your specific case(as you already have the files, and its unlikely you have different formats for them)

    for more answers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to count how many characters a certain string has in PHP, but
Basically, what I'm trying to create is a page of div tags, each has
this is what i have right now Drawing an RSS feed into the php,
I want use html5's new tag to play a wav file (currently only supported
I have a reasonable size flat file database of text documents mostly saved in
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.