Horje
How to get only text from HTML Source Code by PHP

Here is tag strip_tags


How to extract only text from HTML Source Code by PHP

Try the Example.
index.php
Example: PHP
<?php
$your_string = 'This html Code <html>';
echo(strip_tags($your_string));
?>

Output should be:

How to extract only text from HTML Source Code by PHP





Category :
Web Tutorial
Sub Category :
PHP String Tutorial
Uploaded by :
Admin