I am fairly confident i can perform a search query when using a few variables (i.e for my website they might be catalog_num, colour, maximum and minimum price e.t.c).
What if i wanted to perform a search on all my databases?? So that the user can simply type in a keyword and all databases will be searched and if a product is found it is displayed. Is it worth me doing this and is it a long process and is the coding very complicated because the only way in which i can think of doing this is by searching every single column in each table and as i have a number of large tables which are all linked together i think this would be complicated.
If you have done this before or know how to do this please give your opinion.
Performing a search query
1 reply to this topic
Posted 15 March 2006 - 08:49 PM
Only way I know is in the query it would be similar to
SELECT db1.products.color, db2.members.color FROM db1.products, db2.members
PHP F.A.Q. [br]Regular Expression Tester[br]Code Beautifier[br][br]PHP.net resources[br]Why is $foo[bar] wrong?[br]Why shouldn't I use print "<table>" ?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users