Jump to content

ghostz00

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ghostz00's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I want to call a function using a variable. example [code] class example{ $var=100; $variable=100; } $func="var"; // or variable $ex=new example; //this is where I need help somehow I need to use the $func variable to call the right variable. echo $ex->($func); [/code]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.