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
|
|
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  |
|
|
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
Ratings | Utility |
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 |
|
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.
|
Files |
|
|
Files |
|