Pro PHPAdvanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Hi
I try to create search engine that can search on multi tables
for example
I have db called search
And I have those following tables baby_items
decoration
photo_frames
I want to create search engine that can go to all those tables and give me some output
I used
while(list($table) = mysql_list_tables(search))
{
$query = mysql_query("SELECT * FROM $table WHERE.....;
and find match and output it
}
but it has 2 problem
1. it is too slow.
2. and it did not give me any out put.
For those kind of search engine do i have to create a spider?
Thanks Snib
And can I use This Query or it is wrong
$query = mysql_query("SELECT * FROM bay_items, decoration,... WHERE special_price<>''")
I mean we always use equal, but now i used not equal. I wodering is wrong or right?