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
|