Search
 
SCRIPT & CODE EXAMPLE
 

PHP

remove all html codes using php

<?php
  // Remove all html codes from a string
  	$html = '<p>I love <em>codes</em>.<br>We shall keep the learning going</p>';
	echo strip_tags($html);
	echo '<br>';
	// Remove specific html tag/s from a string
	echo strip_tags($html, '<br>');
?>
Comment

PREVIOUS NEXT
Code Example
Php :: laravel bindings query 
Php :: convert to int laravel 
Php :: attach multiple files in laravel mailable 
Php :: laravel getbindings 
Php :: laravel where is null 
Php :: php mysql create table 
Php :: array push object php 
Php :: in random order laravel 
Php :: php count number of files in directory 
Php :: how to set field type of date of birth in laravel 
Php :: php clear output 
Php :: wordpress errors 
Php :: how to get javascript variable value in php 
Php :: webhook discord php 
Php :: magento 2 change customers password 
Php :: highlight search text in php 
Php :: decode jwt token laravel 
Php :: php artisan make migration 
Php :: laravel collection filter 
Php :: witherrors laravel 
Php :: Check duplicate email in laravel using jQuery 
Php :: php header 500 
Php :: insert rows in migrations laravel 
Php :: array to object php 
Php :: find string in text in laravel 
Php :: laravel makehidden 
Php :: how to take last entry in database in laravel Method Three 
Php :: twig for 
Php :: form_dropdown codeigniter from database is assocative array 
Php :: print value in laravel console 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =