Login   Register  
PHP Classes
elePHPant
Icontem

Database Search

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Tomasz Wilk
Name: Tomasz Wilk <e-mail contact>
Packages: 1 Browse all classes by Tomasz Wilk Browse all classes by
Country: Poland Poland - PHP jobs in Poland
Age: 33
All time rank: 2332 in Poland Poland
Week rank: 554 Down19 in Poland Poland Down


  Detailed description   Download .zip .tar.gz  
This class can be used to search for words and phrases in text fields of a MySQL database table.

It can generate a Web search form with an input field to enter the search text, a submit button and radio buttons to let the user tell whether the search should find records with all the words or at least one of them. The form text and presentation style is configurable with CSS.

The class can perform the search for the specified text with prior cleanup to avoid security exploits. The searched text is stored in a session variable so the user can be reminded of the last search.

The search can treat words separately or as phrases when the user encloses the words in double quotes.

The search results are returned in an array that contains a list of distinct records that matched the searched text.

The table name and the table fields to be searched and the fields to be returned as result of the search are configurable.

  Classes of Tomasz Wilk  >  Database Search  >  Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Database Search
Base name: dbsearch
Description: Search for words and phrases in a a MySQL table
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 9050 users
All time rank: 137
Week users: 5 users
Week rank: 519 Down
 
  Groups   Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Searching Search engines, crawling and indexing View top rated classes

  Files folder image Screenshots  
Search form
File Role Description
Accessible without login Image file dbsrch.jpg Screen Search form


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (80.4%)
Good (82.1%)
Good (83.9%)
Good (85.7%)
-
-
Sufficient (65.4%)
454
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file DatabaseSearch.php Class DatabaseSearch class definition
Plain text file DatabaseSearchDocumentation.txt Doc. Short manual
Plain text file DbSrchExample.php Example How to use this class.

Download all files: dbsearch.tar.gz dbsearch.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.