View Single Post
  #2 (permalink)  
Old 11-22-03, 12:22 PM
mdhall's Avatar
mdhall mdhall is offline
Aspiring Coder
 
Join Date: Oct 2003
Posts: 510
Thanks: 1
Thanked 1 Time in 1 Post
Try something like this...

$query1 = "SELECT * FROM topics WHERE title LIKE '$term' AND description LIKE '$term' AND keywords LIKE '$term'";

See if that does any better. You can also try with " % " to see what happens, i.e.

'%$term'
'%$term%'

Different variations may give you different results.
Reply With Quote