Page 1 of 1

retrieve a particular keyword in the body of a mail message

Posted: Mon Dec 06, 2004 3:42 am
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

Posted: Thu Dec 09, 2004 4:12 pm
by skehoe
Have you tried writing it yourself?

Posted: Thu Dec 09, 2004 4:53 pm
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