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.0002623432{main}( )../index.php:0
20.05832180344JSite->dispatch( )../index.php:68
30.06012258584JComponentHelper->renderComponent( )../application.php:124
40.06612396208require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.07112742688showTree( )../mtree.php:284
60.07162749040JCacheCallback->call( )../mtree.php:375
70.07162749912JCacheCallback->get( )../callback.php:48
80.07942793208call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.07942793824showTree_cache( )../callback.php:99
100.09783248816Savant2->display( )../mtree.php:601
110.09783248816Savant2->fetch( )../Savant2.php:987
120.09833291176include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.09893292800include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.10273294808include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.10353339648Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.10353341472call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.10353342232Savant2->splugin( )../Savant2.php:1154
180.10383351832call_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.