What is meaning of $$<Var name>

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vineet

    What is meaning of $$<Var name>

    Hello,

    Can ANy body tell me what is the emaning of $$<var_name> in PHP.

    Regards,

    Vineet


  • chotiwallah

    #2
    Re: What is meaning of $$&lt;Var name&gt;


    Vineet wrote:[color=blue]
    > Hello,
    >
    > Can ANy body tell me what is the emaning of $$<var_name> in PHP.
    >
    > Regards,
    >
    > Vineet
    > http://www.compose.co.in[/color]

    $first_var = "second_var ";

    $$first_var = "some value",

    means $second_var = "some_value ", the value of first_var becomes the
    name of the second var

    micha

    Comment

    • Vineet

      #3
      Re: What is meaning of $$&lt;Var name&gt;

      Thanx.. For reply..

      Vineet


      Comment

      Working...