A
A
adrenalinruslan2018-03-02 20:04:00
Parsing
adrenalinruslan, 2018-03-02 20:04:00

How to parse a page with phpQuery?

Help me solve this problem))
Let's say one site has the following table:
Name: Alex
Text: Hello World!
Using phpQuery (foreach) I parsed all the records from this table and wrote them to the database, but for example, after 5 minutes a new record was added to the site, how can I parse it again? When re-parsing, do I need to send a query to the database to check if there is such an entry? And is it possible to make it so that if a new entry is added on another site, it will immediately be sent to my page? Or make it so that every 5 minutes a page on another site is parsed

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2018-03-02
@dimonchik2013

what is the question?
"immediately" parsing will not work - only after you make the request itself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question