try echo ${variable$increment} --- Tony Crockford <[EMAIL PROTECTED]> wrote: > I really am having a difficult day. > > I want to do an incrementing while loop that will echo out the > values of > $variable1 , $variable2, $variable3 which exist previously. > > so how do I get the incrementing number onto the word variable? to > make > a new variable that matches thename of the existing ones.. > > I tried echo $variable$increment ; but $variable doesn't exist > alone so > all I get is $increment. > > I'm not sure what I should be looking for in the manual - google's > not > much help either. > > anyone give me a clue? > > TIA > > Tony > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >
===== Mark Weinstock [EMAIL PROTECTED] *************************************** 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php