Details
This is a basic MySQL search engine class you can use immediately to
your site. All you have to do is fill up basic database
configurations.
Steps:
1. Specify your host, username, password in array form
2. Specify the tablename you want to use
3. Specify primary key field of the table
4. Specify the fieldnames of the table you want to look up
Example:
/*
<?php
require_once 'class.search.php';
$config = array('localhost','root','','database'); // basic db configurations
$table = 'bizmain'; // tablename you want to search
$key = 'biz_id'; // primary key field of the table
$fields = array('biz_name','biz_address','biz_cat'); // fieldnames of the table
// you want to look up for keyword occurence
$keyword = $_POST['keyword'];
$found = new search_engine($config);
$found->set_table($table);
$found->set_primarykey($key);
$found->set_keyword($keyword);
$found->set_fields($fields);
$result = $found->set_result();
print_r($result);
?>
*/
|
|
Name: |
Basic MySQL Search Engine Class |
Base name: |
searchengine |
Description: |
Search for text in a MySQL database table |
Version: |
1.0.0 |
PHP version: |
- |
License: |
BSD License |
All time users: |
10107 users |
All time rank: |
130 |
Week users: |
0 users |
Week rank: |
154  |
|
|
|
Screenshots |
|
Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
All time: |
Good (95%) |
Good (95%) |
Sufficient (75%) |
Good (85%) |
- |
- |
Sufficient (73%) |
239 |
Month: |
Not yet rated by the users |
|
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 |
|