How to Use "strip_tags" string function?
How to Use "strip_tags" string function?
Started by Magentoecommerce, May 29 2012 12:56 AM
Magento Ecommerce php
1 reply to this topic
#1
Posted 29 May 2012 - 12:56 AM
#2
Posted 29 May 2012 - 03:03 AM
Hi there,
The PHP strip_tags function allows you to strip HTML and PHP tags from a string. For example...
Will output...
Before strip : w3resource.com
After strip : w3resource.com
The PHP strip_tags function allows you to strip HTML and PHP tags from a string. For example...
<?php
$input_string = '<b>w3resource.com</b>';
echo 'Before strip : '.$input_string.'<br>';
echo 'After strip : '.strip_tags('<b>w3resource.com</b>');
?>
Will output...
Before strip : w3resource.com
After strip : w3resource.com
Also tagged with one or more of these keywords: Magento, Ecommerce, php
Creative →
Development & Programming →
What do you think about ContentLion?Started by Alenan, 05 Feb 2013 |
|
|
||
Community Support →
Shared Hosting Support →
PHP ImageMagickStarted by Lian Hui Lui, 27 Aug 2012 |
|
|
||
Creative →
Development & Programming →
how to compatible CSS for chrome, IE8 and IE9Started by Magentoecommerce, 24 Apr 2012 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users









