FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Search more then One Database





moejoe
Hello,

Is there a way you can search more than one dataBase using PHP and pull the most relevant results and plugging them into PHP.

Any links to tutorials would be great!

Thanks!
kv
You can connect to multiple mysql databases in the same session of php. mysql_connect returns a resource identifier. You can pass the resource identifier as a parameter to mysql funtions to specify which database you need the operation on. Alternately, you can switch between databases using mysql_select_db.

For more information, refer http://fr.php.net/mysql
Related topics
Make search engine With PHP and mySQL, for your site
Search function
mysql table keyword search
Dynamical websites and search engines
In Search of Non-Corrupt Politicians
MSN Admits to Sharing Search Data
phpbb installation
Question Regarding Search Engine
Which search engine do you prefer?
Search Results in Back Pages
Search whole database
How to search in a MySQL - database
Optimization for MSN
Yoohoo!!!! People are posting more .... it's working!!!!
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.