Hello Friends,
i want to allow '<br>' tags in my string not '<br />'...!
i want to also disallow '<br />'.
when i use strip_tags($string, '<br>'). in this case strip_tags also allow '<br />' tags.
Please, help me...!
Hello Friends,
i want to allow '<br>' tags in my string not '<br />'...!
i want to also disallow '<br />'.
when i use strip_tags($string, '<br>'). in this case strip_tags also allow '<br />' tags.
Please, help me...!
str_replace('<br />','<br>',$string);
Hope this help!
great...! thanks dear. my problem solved.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.