Ver original$code = "<b>texto</b>";$code_validar = strip_tags($code);if(strlen($code_validar > 1)){ $consulta = "insert into tabla values ('$code')";}