We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29774
    • 386 Posts

    Why can’t I use a variable to identify an object PROPERTY? I can use a variable to define an object FUNCTION without any problems.

    I believe you can use a reference to do this:

    $ref=& $this->$var;
    $ref=$value;

    Cheers,

    Mark
      Snippets: GoogleMap | FileDetails | Related Plugin: SSL