Please type CTRL-T in the Arduino editor to format your code properly, and edit your post to add code tags.
At least one of your problems is the use of the keyword "float" in the line below, which defines a local variable named "ph_value", which is not visible outside of the function named getting_value().
float ph_value = -5.70 * volt + calibration_value;