retrieve a particular keyword in the body of a mail message

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
bouboul
Forum Commoner
Posts: 28
Joined: Sat Oct 25, 2003 4:08 am

retrieve a particular keyword in the body of a mail message

Post by bouboul »

hello,

i would like to get a portion of php code that do the following:

- retrieve some specific keyword in the body of a mail and once the system found the keyword the system must query the mysql DB accordingly to that keyword.

thanx for your help
User avatar
skehoe
Forum Commoner
Posts: 59
Joined: Sun Dec 22, 2002 5:57 am
Location: Denver

Post by skehoe »

Have you tried writing it yourself?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

I agree. Please have a go first. You shouldn't come in here to ask for code. Fair enough if you tried and couldn't do it but we'd rather help you to help yourself :-)

Post a bit of code. Here's a tip.... read about pattern matching functions in php. preg_match() etc. That'll help you find the keyword in there, then have a play around and get back to us :-D
Post Reply