MessagePlease change your email settings to plain text, not html.
I'd suggest using PCRE (http://www.php.net/manual/en/ref.pcre.php).
"Chris Payne" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
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?
Thanks everyone, and may the force be with you (LOL, sorry I couldn't resist
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php