PHP: Multi-word MySQL Search

Here we have a simple PHP search algorithm that queries a MySQL database and outputs the result. It is a simple alternative to using the FULLTEXT search feature of MySQL. The script autmatically takes into consideration how many search words are in the search string which is submitted from the HTML search form. It then …

HTML Parsing and Screen Scraping with the Simple HTML DOM Library

If you need to parse HTML, regular expressions aren’t the way to go. In this tutorial, you’ll learn how to use an open source, easily learned parser, to read, modify, and spit back out HTML from external sources. Using nettuts as an example, you’ll learn how to get a list of all the articles published …