If I wanted to name the following variable names listed in the following array.. If I wanted to give them all a value of "completed" how would I do that..
$variablesArray = array('schoolwork', 'homework', 'project4');
function markComplete ($currentVariableName){
$currentVariableName = 'completed'; //how do I set variables dynamically? ??
};
array_walk($variablesArray, 'markComplete');