Paypal Donate

Regular Expressions


Listings


( ! ) Warning: Parameter 1 to Savant2_Plugin_ahreflisting::plugin() expected to be a reference, value given in /home/ceditbiz/public_html/components/com_mtree/Savant2.php on line 1127
Call Stack
#TimeMemoryFunctionLocation
10.0001622256{main}( )../index.php:0
20.10102172184JSite->dispatch( )../index.php:68
30.10382250232JComponentHelper->renderComponent( )../application.php:124
40.15612387904require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.17972735192showTree( )../mtree.php:284
60.18022741544JCacheCallback->call( )../mtree.php:375
70.18022742416JCacheCallback->get( )../callback.php:48
80.18752785712call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.18752786328showTree_cache( )../callback.php:99
100.22413241520Savant2->display( )../mtree.php:601
110.22413241520Savant2->fetch( )../Savant2.php:987
120.22503283776include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.22633285192include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.23053287000include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.23153331744Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.23153333568call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.23153334328Savant2->splugin( )../Savant2.php:1154
180.23323344032call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1127} ( )../Savant2.php:1127

Attached is a simple function to strip specific tags from HTML using the Regexp object.

Syntax:

strippedHTML=stripTags(HTML, tag)

HTML: an HTML string.
tag: the name of the tag you want removed fro ...

Copyright © 2009 www.cedit.biz. All rights reserved.