Error combining Atlas Scientific PH and Conductivity Sensors

So, we've been trying to combine the code from the Atlas Scientific PH and Conductivity sensors together. We're really stuck on this. When we compile the code, we get an error saying "'print_EC_data' was not declared in this scope." Any help would be greatly appreciated!

Here's a link to our code

You have defined your print_EC_data function inside of your loop function. That won't work. If you do an Auto Format (Tools > Auto Format in the Arduino IDE or Ctrl + B in the Arduino Web Editor) on your sketch and then check the resulting indentation, the problem will become clear.