Pages

Sunday, April 7, 2013

Simple way to remove html tags from string in php

If you want remove <b>,<a> tags, image tags and all html tags from string just use following code and remove all html tags.
<?php
$yourstring = preg_replace("/<.*?>/", "", $yourstring);
?>

PHP echo statement

Php simple echo statement
<?php 
echo "display your content" 
?>
Output : display your content

 

Join

join

Our Partners

a..

About