I am trying to create a new variable out of part of another variables value. I have gone through multiple other SO threads but I am trying to figure out how to make the new variable its own instance. Making a variable out of another variables' value in php (php basics)
I have this variable: $id = 0 ;
I want to create: $limit_$id (IE: $limit_0) that I can reference just as native variable. I believe I can do this: $${'limit_'.$id}, but is there any way to actually end up with $limit_0 so I don't have to reference it as $${'limit_'.$id) ???
$limit[$id].