Microsoft
Software
Hardware
Network
Question : strip html tags except <b></b> and <br /><br>
Hello,
I would like to strip all tags except, <br>, <br /> and <b>.
Is this possible?
<?=$description?>
Answer : strip html tags except <b></b> and <br /><br>
strip_tags takes a second argument which is the list of tags not to strip. See
http://us3.php.net/strip_t
ags
$description = strip_tags($description,"<b
><br>");
Random Solutions
SATA hot swap in windows server 2008 (URGENT)
tables with FK relationships at all
Windows XP OEM in a virtual machine
setup NAT on Cisco ASA
ASP.NET How to get picture images to display...in a LISTVIEW?
How to write an excel =sumif formula with multiple conditions
Outlook 2007 Tasks sending out automatic status reports (updates) when attachments are opened
Changing the name ofWindows Version during startup
Can not get mysql to work with IIS7 Drupal and PHP
ATM clocking