Page 1 of 1

Stristr vs database mysql solution which one is fast ?

Posted: Wed Jan 26, 2011 2:46 am
by altainta
Hello
I have multiple stristr condition (300+) involved in my php script (in 1 script only). I would like to know if that is okay or should i move to other solution like Mysql table search data and than direct it to accordingly.
Kindly suggest some thing... the 300 condition are stored in include files (every file there is condition i.e there are 300 files in a directory which is included.)
Kindly suggest some thing efficient and fast.

Re: Stristr vs database mysql solution which one is fast ?

Posted: Wed Jan 26, 2011 3:50 am
by klevis miho
Are you doing a search function?

Re: Stristr vs database mysql solution which one is fast ?

Posted: Wed Jan 26, 2011 11:13 am
by altainta
Yes it is a Search Function
Kindly suggest