Altering value on webserver.

Suppose i want to change my slope value and intercept value.

OK. Let's suppose you do.

You have some code that is running on the Arduino. You haven't shown us that code. So, how the f**k are we supposed to help you?