Php Use Variable In Function Sql Example