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.0002623064{main}( )../index.php:0
20.05552179920JSite->dispatch( )../index.php:68
30.05742258160JComponentHelper->renderComponent( )../application.php:124
40.06322395784require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.06812742264showTree( )../mtree.php:284
60.06852748616JCacheCallback->call( )../mtree.php:375
70.06852749488JCacheCallback->get( )../callback.php:48
80.06942792784call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.06952793400showTree_cache( )../callback.php:99
100.08193248408Savant2->display( )../mtree.php:601
110.08193248408Savant2->fetch( )../Savant2.php:987
120.08233290768include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.08293292392include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.08533294304include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.08583339144Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.08583340968call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.08593341728Savant2->splugin( )../Savant2.php:1154
180.08613351328call_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.