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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

execute $var ?

Status
Not open for further replies.

DaHapMan

Programmer
Oct 31, 2000
20
0
0
NL
I was wondering ..
is it possible to execute the value of a var ???
like:

$a = "echo hello world;"
$a;

note: this doesn't work :)

Does anyone know :
I) Is it possible to do such thing ?
II) How to do such thing ?

Thnx .. DaHapMan
 
Go to
In fact, read through the whole manual. It's pretty good reading ;-). -------------------------------------------

"Calculus is just the meaningless manipulation of higher symbols"
                          -unknown F student
 
Jeee .. thanx!
maybe it isn't such a bad idea to read through the whole manual ... [rednose]
 
This is one of my favorite features, aside from variable variables. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top