Hai friends

I have got the contents from database But i need to search the content if any worsd available in the contents

For example when I get the pargraph from the table then i find "Style" this word is avaliable in the paragraph .

How can i find the text in the paragraph?

Thanks
Prabu
__________________
Thanks
Vssp

Recommended Answers

Have a look at some of these string functions. One of them is bound to do what you want it to.

http://www.w3schools.com/php/php_ref_string.asp

Jump to Post

All 2 Replies

What database software are you using? Some have full text search capabilities which are quite neat. You could search for "styles" or "styling", and it would match "Style", because they're related. Some even do "good", "better", "best" relations. Depends on your db software... There might also be a php module for some of this stuff... Not sure, but it seems possible.

Hai friends

I have got the contents from database But i need to search the content if any worsd available in the contents

For example when I get the pargraph from the table then i find "Style" this word is avaliable in the paragraph .

How can i find the text in the paragraph?

Thanks
Prabu
__________________
Thanks
Vssp

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.