Skip to content

PHP Script to search all database, with narrowing down the Tables & Columns to search, Resulting in low traversing & high performance searching tool in php

Notifications You must be signed in to change notification settings

virajkadam/php-search-all-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 

Repository files navigation

PHP Search All Database

This code can search the entire database, by narrowing down the tables & columns to search in. Giving flexibility and high-performance execution to execute faster searches by lowering the traversing nodes.

  • Simple PHP Searching tool
  • User friendly - Plug and Play
  • Tiny PHP search engine
  • How to use:

    Assign keyword to search to variable $search_keyword

    $search_keyword = "KEYWORD";						// Enter keyword to search

    Enter table names & their respective column names in an associative array $table_associative_array to search the given keyword.

    $table_associative_array = array( 
    			'TABLE NAME 1' => array(			// TABLENAME 1 to search in
    				'columnN_NAME_A',			// column Name A to search in
    				'columnN_NAME_B'			// column Name B to search in
    			),
    			'TABLE NAME 2' => array(			// TABLENAME 2 to search in
    				'columnN_NAME_A',			// column Name A to search in
    				'columnN_NAME_B'			// column Name B to search in
    			)
    		);

    Call this fantastic function, with two parameters php_search_all_database( "Keyword to search", "Table name array" ) as below

    php_search_all_database( $search_keyword, $table_associative_array );	// call this Awesome function to run script

    Please STAR if you like this script.

    About

    PHP Script to search all database, with narrowing down the Tables & Columns to search, Resulting in low traversing & high performance searching tool in php

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages