Re: setting function variables

From: Date: Thu, 07 Aug 2003 20:01:23 +0000
Subject: Re: setting function variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-158729@lists.php.net to get a copy of this message
--- "CPT John W. Holmes" <holmes072000@charter.net> wrote: > > A good suggestion, since this is what your creating, basically. > > Anyhow, if you really want to do it your way, it'd be like this: > > $runQuery = 'mssql_query'; > $getRow = 'mssql_fetch_row'; > > Then you'd use them like this: > > $result = $runQuery("select ... "); > while($row = $getRow($result)) > { > ... > } > I seem to learn something new every time you or Jennifer post (many others as well). I never knew about variable functions. Cool! > ---John Holmes... > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ===== Mark Weinstock mark_weinstock@yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com

« previous php.general (#158729) next »