Afficher un message
Vieux 17/02/2008, 21h25   #1
Animesh K
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Speed Optimization Query

Hello All:

I have a field obtained from MySQL database, call that as $field[i] (one
for each row).

I want to find if two words, say $a, $b are present in this $field[i] or
not.

Right now, I am checking this inclusion using substr() function and a
logical AND operation. I wonder if there is a faster way to check this
inclusion?

Best regards,
Animesh
  Réponse avec citation
 
Page generated in 0,06484 seconds with 9 queries