PHP Classes

PHP Search: Search for data MySQL tables and show the results

Recommend this page to a friend!

  Author Author  
Picture of Vick
Name: Vick <contact>
Classes: 1 package by
Country: Canada Canada
Age: 42
All time rank: 29313 in Canada Canada
Week rank: 503 Down10 in Canada Canada Up


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can perform basic searches in MySQL tables.

It can take parameters that define the tables and fields to be searched and retrieved and the fields that define the results sorting order.

The class returns the search results in the form of an HTML table or a text displaying a message when the search query did not return any results.

Details
1-Edit the config file 2-Include the recherche.class.inc file in the appropriate file 3-Instanciate the class and call the _show() function with the appropriate parameters exactly where you want it ***Note that all parameters are required and specially the primary key of the table**** it goes like this: <? $r= new RECHERCHE(); $r->_show('search_file', 'searched_table', $arr=array("*Primary_key*", "field1", "field2", ...), 'url_for_selected_item', 'order','700px'); ?> the -searche_file is the file within the class is called -searched_table is ... i don't remember... -$arr is the array containig the searched fields, primary key is required -url_for_selected_item is the file that will be called in the href of the results(that's why the pk) -order is the "order by field" like "field1 DESC" -and finally the width of the display table

  Classes of Vick  >  PHP Search  >  Download Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Search
Base name: phpsearch
Description: Search for data MySQL tables and show the results
Version: 1.0.0
PHP version: -
License: GNU General Public License (GPL)
All time users: 8725 users
All time rank: 186
Week users: 0 users
Week rank: 156 Equal
 
  Groups   Rate classes User ratings   Trackback   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


  Recommendations  

Find a record into table
I need search any item into table

Keywords search on multiple table fields of a MySQL database
Search two fields of MySQL database for multiple keywords


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (89%) Good (87%) Sufficient (75%) Good (82%) - - Sufficient (69%) 498
Month: Not yet rated by the users

  Pages that reference this package  
Por fin después de una semana y media de trabajo, les traemos por fin el diccionario de maestros recargado…. al momento tenemos alrededor de 1000 registros de profesores, de los cuales hemos recabado información con ayuda de nuestros nuevos colaboradores...

Latest pages that reference packages Latest pages that reference packages


  Applications that use this package  
No pages of applications that use this class were specified.

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
Accessible without login Plain text file config.inc Conf. Configuration
Accessible without login Plain text file demo.php Example The demo file
Accessible without login Plain text file demodisplay.php Example disp.
Accessible without login Plain text file js.script.inc Data js
Accessible without login Plain text file readme.txt Doc. readme
Plain text file recherche.class.inc Class class

Install with Composer Install with Composer - Download Download all files: phpsearch.tar.gz phpsearch.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
  Files folder image Files  
File Role Description
Accessible without login Plain text file config.inc Conf. Configuration
Accessible without login Plain text file demo.php Example The demo file
Accessible without login Plain text file demodisplay.php Example disp.
Accessible without login Plain text file js.script.inc Data js
Accessible without login Plain text file readme.txt Doc. readme
Plain text file recherche.class.inc Class class

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