Stristr vs database mysql solution which one is fast ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
altainta
Forum Newbie
Posts: 4
Joined: Fri Oct 26, 2007 7:55 am

Stristr vs database mysql solution which one is fast ?

Post 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.
klevis miho
Forum Contributor
Posts: 413
Joined: Wed Oct 29, 2008 2:59 pm
Location: Albania
Contact:

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

Post by klevis miho »

Are you doing a search function?
altainta
Forum Newbie
Posts: 4
Joined: Fri Oct 26, 2007 7:55 am

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

Post by altainta »

Yes it is a Search Function
Kindly suggest
Post Reply