RE: [PHP] today i found the best function I've ever seen
> Date: Mon, 23 Mar 2009 09:11:00 -0400 > From: danbr...@php.net > To: titiolin...@gmail.com > CC: virgilio.quila...@gmail.com; nrix...@gmail.com; php-general@lists.php.net > Subject: Re: [PHP] today i found the best function I've ever seen > > On Mon, Mar 23, 2009 at 09:07, Igor Escobar wrote: > > Do not try this at home... > > Sorry, all, I must have yelled. Two days later and my words are > still echoing. ;-P > Ha Ha Ha Ha. Did you have to say that Dan? _ Show them the way! Add maps and directions to your party invites. http://www.microsoft.com/windows/windowslive/products/events.aspx
Re: [PHP] today i found the best function I've ever seen
Jason Pruim wrote: Daniel Brown wrote: On Mon, Mar 23, 2009 at 09:07, Igor Escobar wrote: Do not try this at home... Sorry, all, I must have yelled. Two days later and my words are still echoing. ;-P Yeah... Would you keep your voice down You self titled oh so important person! :P bloody vagrants - get back to work :p -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] today i found the best function I've ever seen
Daniel Brown wrote: On Mon, Mar 23, 2009 at 09:07, Igor Escobar wrote: Do not try this at home... Sorry, all, I must have yelled. Two days later and my words are still echoing. ;-P Yeah... Would you keep your voice down You self titled oh so important person! :P -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] today i found the best function I've ever seen
On Mon, Mar 23, 2009 at 09:07, Igor Escobar wrote: > Do not try this at home... Sorry, all, I must have yelled. Two days later and my words are still echoing. ;-P -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] today i found the best function I've ever seen
Do not try this at home... Igor Escobar systems analyst & interface designer www . igorescobar . com On Sat, Mar 21, 2009 at 7:23 AM, Virgilio Quilario < virgilio.quila...@gmail.com> wrote: > > if( !function_exists('clean_sql_term') ) > > { > >function clean_sql_term($term) { > >return $term; > >} > > } > > > > beautiful > > > > hi Nathan, > > Nice find. > You have found a very useful function. > Here is how I use it to load needed PHP files that declares the function. > if (!function_exists('clean_sql_term')) > { > require 'module.php'; > } > clean_sql_term($term); > > Above code makes sure that the function is available. > Really beautiful, though jurassic but useful. > > Cheers, > Virgil > http://www.jampmark.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >
Re: [PHP] today i found the best function I've ever seen
> if( !function_exists('clean_sql_term') ) > { > function clean_sql_term($term) { > return $term; > } > } > > beautiful > hi Nathan, Nice find. You have found a very useful function. Here is how I use it to load needed PHP files that declares the function. if (!function_exists('clean_sql_term')) { require 'module.php'; } clean_sql_term($term); Above code makes sure that the function is available. Really beautiful, though jurassic but useful. Cheers, Virgil http://www.jampmark.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] today i found the best function I've ever seen
On Fri, Mar 20, 2009 at 19:43, Nathan Rixham wrote: > if( !function_exists('clean_sql_term') ) > { > function clean_sql_term($term) { > return $term; > } > } DISCLAIMER: Nathan is being facetious. This is just one of several bits of a mess we took to fix in a project. Do not try this at home. Or anywhere. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] today i found the best function I've ever seen
if( !function_exists('clean_sql_term') ) { function clean_sql_term($term) { return $term; } } beautiful -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php