Pete Winter
asked on
dynamic variable name
I want my variable name to be dynamic variable. See my code below...
i.e. Say $row_rs_ocg_brands2['brand _name'] equals HP I want the variable name to be...
$media_brand_listedHP = "Yes";
What I have done is wrong. How should I do it?
$media_brand_listed . $row_rs_ocg_brands2['brand_name'] = "Yes";
i.e. Say $row_rs_ocg_brands2['brand
$media_brand_listedHP = "Yes";
What I have done is wrong. How should I do it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER