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.09282179920JSite->dispatch( )../index.php:68
30.09572258160JComponentHelper->renderComponent( )../application.php:124
40.10552395784require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.11322742264showTree( )../mtree.php:284
60.11392748616JCacheCallback->call( )../mtree.php:375
70.11392749488JCacheCallback->get( )../callback.php:48
80.12362792784call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.12362793400showTree_cache( )../callback.php:99
100.16163248408Savant2->display( )../mtree.php:601
110.16173248408Savant2->fetch( )../Savant2.php:987
120.16213290768include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.16273292392include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.16583294304include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.16673339144Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.16673340968call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.16673341728Savant2->splugin( )../Savant2.php:1154
180.16703351328call_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.