Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

probably basic question.. :\

Status
Not open for further replies.

jamesp0tter

Programmer
Feb 20, 2003
119
0
0
PT
imagine i have this variables:

$blablaONE
$blablaTWO

etc

and i have $num that can be "ONE", "TWO", etc.

how do i refer to the "resulting" variable, for instance if $num is "TWO" how do i get $blablaTWO's value ?

ps: $blablaONE , etc have diferent values, each.

jamesp0tter,
jamespotter@netcabo.pt

p.s.: sorry for my (sometimes) bad english :p
 
sorry 'bout that, i tryed php website, and all variable pages and couldn't spot an answer ;
thanks very much and sorry any touble caused ;]

jamesp0tter,
jamespotter@netcabo.pt

p.s.: sorry for my (sometimes) bad english :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top