PHP variable evaluation.

  • Troubadour
  • Graduate
  • Graduate
  • User avatar
  • Joined: Mar 04, 2004
  • Posts: 137
  • Loc: Melbourne, Australia
  • Status: Offline

Post March 7th, 2004, 5:02 am

Hey there,

just a quick one...

What's the function name to retrieve the value of a second variable, that is actually referenced by a another variable?

I don't have PHP ide here and it has been a about 9 months since my last PHP task.

Thanks in advance.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 7th, 2004, 5:02 am

  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Joined: Jun 15, 2003
  • Posts: 4583
  • Loc: Maryland
  • Status: Offline

Post March 7th, 2004, 9:45 am

I'm not positive what you mean, but is this what you are looking for?

http://www.php.net/manual/en/language.v ... riable.php
Pixel Acres V2
  • Troubadour
  • Graduate
  • Graduate
  • User avatar
  • Joined: Mar 04, 2004
  • Posts: 137
  • Loc: Melbourne, Australia
  • Status: Offline

Post March 8th, 2004, 6:14 pm

Thanks for the reply,:D
In that artivle I actually found the answer though not directly.

it is the "eval" function.
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Joined: Jun 15, 2003
  • Posts: 4583
  • Loc: Maryland
  • Status: Offline

Post March 9th, 2004, 1:58 pm

Glad ya found it!
Pixel Acres V2

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 193 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.