I am accepting a variable into a function.
For example, the variable is called $field
and I then want to name a variable by what is inside the $field
variable.
Say $field = 'randomName'
, I want my variable to be $randomName
.
Is this possible?
Thanks.