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

Recent content by gultekin

  1. gultekin

    variable variables and object member variables...

    hi. found out how to do it. squigly brackets can be used to use variables to access object member variables like so:: while($element = each($row)) $this->{$element["key"]} = $element["value"]; thanks anyway!
  2. gultekin

    variable variables and object member variables...

    can anyone enlighting me on how i can use variable variables to access object member variables? PHP:-------------------------------------------------------------------------------- while($element = each($row)) { //want to be able to assign array values to corresponding //member variables...

Part and Inventory Search

Back
Top