Using PHP to extract data from a source

This is a sample PHP application written during our PHP course which shows how a simple script can be used to provide the user with data extracted from a data file or SQL database.

Call it "webgrep" if you like!

This example reads a file of around 5000 telephone dialling codes and the place or service they are associated with. Please enter part of a code or a place or service name on the form, and submit the form, and I'll tell you about all the matches.

Look for: and


The answer will appear here when you submit the form
Copyright statement, other links, etc ...

Training sample © 2024, WELL HOUSE CONSULTANTS LTD
This is http://www.wellho.net/demo/simgrep.php
See source code here • More examples - same topic here
Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
Phone: +44 (0) 1225 708 225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net