J
J
Jazz75RUS2016-07-31 14:57:16
PHP
Jazz75RUS, 2016-07-31 14:57:16

How to filter in code by value in a specific class?

All the best, there is a code, in it, among other garbage, there are frequently repeated arrays with the same class, for example:
<div class="primer">34000</div>
Task: find these "primer" classes and display their value, for example, in ascending order.
I know that there are a lot of solutions, from a script to a code parser in echelon and further filtering, but what I have does not suit the convenience and level of entry (this processing should be done by a person far from programming, you need to click here, then there and wait))), maybe someone knows ready-made solutions for such a need, maybe even ready-made handlers with an interface for the end user without digging into the code and database.
Anyone who writes something like "Write it yourself, it's business there" will be damned forever XD
Thank you all :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fortop, 2016-08-01
@Jazz75RUS

Zend has a Dom class for working with selectors in the jquery style
. This is one
A two, standard php supports xpath, where you can do the same.
Actually, ready-made handlers are not needed there, this is code in 2-4 lines and is googled with some knowledge of English

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question