Construct name of variable with variables

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Wow! Wow! Wow! Great!!!

I went for Ken's option. But i searched Google Groups instead since
didn't give me what i wanted.

Anyway it had me thinking for a while, but now i get it, and it's just awe-
some!!!! I'm really thrilled...!

My final solution is this:

    $menulocation     = "menu_".substr($pg, 0, 2);    
    $constructed_var = $$menulocation;

Well, thanks a lot!!! I'm really glad with this!!!

Drinks for everyone!

Quoted text here. Click to load it

Site Timeline