Forum Moderators: coopster
function example($property,$value)
{
if (isset($_POST['formis']))
{
if (isset($_POST[$property])) {//$property_parameter_var_here = '123';}
}
}function example('audio','1');
...in this example I would want the 'property_parameter_var_here' variable to actually be named '$audio'.
- John
Here is a partially static echo to confirm this works...
function example($property,$value)
{
global $$property;
if (isset($_POST['formis']))
{
if (isset($_POST[$property])) {$$property = '123';}
}
echo $audio;
}example('audio','1');
Thanks cameraman!
- John