strip_tags denedim ama yinede hatalar oluşuyor.
Zaten strip_tags html kodları temizlemek için.

strtolower(htmlentities( kullanıyorum ztn