Paypal Donate

PHP

PHP snippets, code examples, and classes.

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.0007622248{main}( )../index.php:0
20.12322177808JSite->dispatch( )../index.php:68
30.12812256048JComponentHelper->renderComponent( )../application.php:124
40.16152393720require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.19102740888showTree( )../mtree.php:284
60.19142747216JCacheCallback->call( )../mtree.php:375
70.19152748088JCacheCallback->get( )../callback.php:48
80.19722791480call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.19722792096showTree_cache( )../callback.php:99
100.22833257448Savant2->display( )../mtree.php:601
110.22833257448Savant2->fetch( )../Savant2.php:987
120.22923299704include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.23063301120include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.23513302928include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.23583347784Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.23583349624call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.23583350384Savant2->splugin( )../Savant2.php:1154
180.23713360104call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1127} ( )../Savant2.php:1127

I use these three functions to create date dropdowns in forms.  They are configured for UK dates, but could easily be modified for other locales.  You can create as many as you need on a page, just ensure that they have different names.

...

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