Does anyone know how to request variables dynamically.
ie:
instead of using somethin such as
$my_var = $_POST['rank1'];
is it possible instead to have something along the following lines
$my_var = $_POST[$my_array[0]];
or
$my_var = $_POST['rank'.$my_array[0]];
what I am trying to do is to dynamically retrieve information to later store into a database.
any help is appreciated.
best,
Ed.