Creating Variable Variables from concatenation. I THINK

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrmahad
    New Member
    • Dec 2006
    • 2

    Creating Variable Variables from concatenation. I THINK

    I am not even sure if I am using the right format to ask this question but here goes..

    I need
    a.$b to become one variable.. let's say
    $ab and then assume a value
    or to put another way
    [PHP]${"amount_". $counter} = $someValue;[/PHP]

    I hope I am clear, because I can't seem to find a sulution. Any help will be greatly appreciated..
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    That will work!

    Ronald :cool:

    Comment

    • mrmahad
      New Member
      • Dec 2006
      • 2

      #3
      Thanx..

      It was that simple and it bogled me for over a month.. WOW! :)

      Comment

      Working...