strip_tags kullan tüm html kodları siler.
$veri = '<a href="sadsd">adasd</a>';
echo strip_tags($veri);