Ian Bambury wrote:

>If you're still not clear try thinking of it like this:
>
>$one = "banana"
>$two = "one"
>
>echo $two; // gives "one"
>
>but
>
>echo $$two; // gives "banana"
>
>This is because
>* PHP looks at "$$two" and, working right to left, substitutes the value of
>"$two"
>* "$$two" now becomes "$one"
>* PHP goes a step further and looks to see what is in "$one" and comes up
>with "banana"
>
>Any clearer? I don't suppose so :-)
>
>  
>
Hi Ian, been following the thread. An excellent explaination!
Bob.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/HKFolB/TM
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to