Php Use Variable As Variable Resistor