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');
-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
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
||Not yet rated by the users
||Pages that reference this package
Latest pages that reference packages
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.