Hi there everyone,

Say I have a string which reads "<html->12345</html>", how can I search that string and do an operation on each word?

What I would like to do is check code before it is inserted into a db, and have a pre-defined list of HTML/PHP syntax already written, it would look at <html-> and compare it to the db with the syntax I have written, and ask if I meant <html> instead?

Any ideas?

Thanks everyone, and may the force be with you (LOL, sorry I couldn't resist that :-)


Reply via email to