Pages: [1]
Author Topic: Search not finding all games  (Read 148 times)
Customers
Full Member
*

Karma: 0
Posts: 67


Email
on: Sep 27, 10, 10:41 AM

Sergey,
I'm noticing that when I use the Search, it doesn't find all games. Are search results limited?

Here is an example, go here:
http://playsomegames.com/

search for "castle"

The results don't show "Castle Smasher" http://playsomegames.com/play/Castle_Smasher/
Doesn't show "Crush The Castle" either http://playsomegames.com/play/Crush_the_Castle/

Let me know how I can fix or modify this...
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #1 on: Sep 27, 10, 11:02 PM

take a close look at the SQL query in the 62nd line of search.php (starting with '$query = "SELECT... '). Currently it searches for a title using the following syntax:
Code:
WHERE title LIKE '%$searchstr%'
. If you'll find a better variant, please let me know.
Logged
Pages: [1]
 
Jump to: