HTML tags in MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi gang:

I have a client who over the years thought it was great to enter html tags directly into his database via his CMS for display in his web site.

Now, he has a mess with some data being shown one way, when he wants it shown another. Plus, not all the tags are well formed and some are even malformed (i.e., <b ).

So, what to do is the question?

Is there an easy way to scrub the data to remove tags; or is this going to be one of those "change it where you see it" in the CMS; or do I just scrub the data after I extract it from the dB and before displaying it and forget about fixing the dB?

Recommendations and suggestions welcomed.

Cheers,

tedd


--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux