htmlSQL

htmlSQL - a PHP class to query the web by an SQL like language.

htmlSQL is a experimental PHP class which allows you to access HTML values by an SQL like syntax. This means that you don’t have to write complex functions (regular expressions) to extract specific values. The htmlSQL queries look like this:

HTML-SQL

This query returns an array with all links that contain the attribute class=”list”.

» Live Demo / Example «