| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Stefan Hinz | Date: | May 26 2003 9:11pm |
| Subject: | Re: Stripping HTML from db content | ||
| View as plain text | |||
Andrew, > Does anyone know of a quick bit of query script using regular > expressions or the 'replace' string function to strip HTML tags from > databased content?? (...) > Specializing in OSCOMMERCE applications and PHP/MySQL programming. If you are using PHP, you might want to accomplish that task in your application (certainly more straightforward than doing it in SQL). You could use strip_tags() (http://de2.php.net/strip_tags) and a number of other nice PHP functions (like nl2br()) for that. Regards, -- Stefan Hinz <hinz@stripped> iConnect GmbH <http://iConnect.de> Heesestr. 6, 12169 Berlin (Germany) Telefon: +49 30 7970948-0 Fax: +49 30 7970948-3 [filter fodder: sql, mysql, query]
| Thread | ||
|---|---|---|
| • Stripping HTML from db content | Andrew Hazen | 26 May |
| • Re: Stripping HTML from db content | Stefan Hinz | 26 May |
| • Looking for more detail on upgrading to 4 from 3 | Scott Haneda | 26 May |
| • RE: Looking for more detail on upgrading to 4 from 3 | electroteque | 27 May |
| • Re: Looking for more detail on upgrading to 4 from 3 | Scott Haneda | 27 May |
| • Re: Looking for more detail on upgrading to 4 from 3 | daniel | 27 May |
| • Re: Looking for more detail on upgrading to 4 from 3 | Scott Haneda | 27 May |
| • mysql_fix_privilege_tables behaves odd, explain this | Scott Haneda | 27 May |
| • mysql_fix_privilege_tables behaves odd, explain this | Scott Haneda | 27 May |
| • Frustrations with upgrading to 4 from 3, and a lack of notes and docs | Scott Haneda | 27 May |
