user1006: I have got Arduino Mega 2560, Arduino WiFi Shield and resistor 1.5K. 
Now PWM 2 is attached to the resistor then attached GND. 5V is attached between PWM2 and resistor's up point. I want to read the Arduino Mega's A7 analog input point in order to print this value on an Android Phone's web browser but, I get zero value every time surprisingly. It should be like 235, 350 something like integer or float kinds as usual. 
According to Android Phone's Google Chrome Web Browser Page, why there are too many zeros in the HTML? It should be different from zeros because I have already added a short wire to Analog A7 so as to make an antenna. 
A photo of my setup:

Screenshot of my Android web browser

Serial Monitor output

My code:
#include <SPI.h>
#include <WiFi.h>

char ssid[] = "Connectify-me";      
char pass[] = "***";    
int status = WL_IDLE_STATUS;
float PPG = analogRead(A7);
boolean door_status = false;
WiFiServer server(80);
void setup() {
  Serial.begin(9600);
  while ( status != WL_CONNECTED) { 
    Serial.print("Yazdigin SSID araniyor: ");
    Serial.println(ssid);
    status = WiFi.begin(ssid, pass);
    delay(10000);
  } 
  server.begin();
  printWifiStatus();
}
void loop() {       
  WiFiClient client = server.available();
  if (client) {
    Serial.println("Deger gonderildi");
    Serial.print(PPG);
    while (client.connected() & client.available()) {
          client.println("<html>");
          client.println("<body>");
          client.println("<li>");
          client.print(PPG);  //The value should different from zeros but everytime 0
          client.println("</li>");
          client.println("<br />");
          client.println("</body>");
          client.println("</html>");
      }
    }
    delay(3000);
      client.stop();
      Serial.println("client disonnected");
  }
  void printWifiStatus() {
  Serial.print("Baglandigimiz SSID: ");
  Serial.println(WiFi.SSID());
  IPAddress ip = WiFi.localIP();
  Serial.print("IP Addressi browserda ac: ");
  Serial.println(ip);
  long rssi = WiFi.RSSI();
}


user368: The capacitor in the sample-and-hold circuit in the ADC frontend is tied to ground and it is very leaky. Unless you have a low or medium impedance output connected to it, you will always read the ground value. An antenna is a very high impedance device.

user83: You are reading the input pin float PPG = analogRead(A7); only in the startup code of your program. Move that into the loop to have it updated before using it.

1006: <p>I have got Arduino Mega 2560, Arduino WiFi Shield and resistor 1.5K. </p>

<p>Now PWM 2 is attached to the resistor then attached GND. 5V is attached between PWM2 and resistor's up point. I want to read the Arduino Mega's A7 analog input point in order to print this value on an Android Phone's web browser but, I get zero value every time surprisingly. It should be like 235, 350 something like integer or float kinds as usual. </p>

<p>According to Android Phone's Google Chrome Web Browser Page, why there are too many zeros in the HTML? It should be different from zeros because I have already added a short wire to Analog A7 so as to make an antenna. </p>

<p>A photo of my setup:</p>

<p><img src="https://i.stack.imgur.com/MFCwt.jpg" alt="My workside"></p>

<p>Screenshot of my Android web browser</p>

<p><img src="https://i.stack.imgur.com/tH4Jq.png" alt="Android Phone Screen"></p>

<p>Serial Monitor output</p>

<p><img src="https://i.stack.imgur.com/vba5T.png" alt="Arduino IDE &amp; Serial Monitor"></p>

<p>My code:</p>

<pre><code>#include &lt;SPI.h&gt;
#include &lt;WiFi.h&gt;

char ssid[] = "Connectify-me";      
char pass[] = "***";    
int status = WL_IDLE_STATUS;
float PPG = analogRead(A7);
boolean door_status = false;
WiFiServer server(80);
void setup() {
  Serial.begin(9600);
  while ( status != WL_CONNECTED) { 
    Serial.print("Yazdigin SSID araniyor: ");
    Serial.println(ssid);
    status = WiFi.begin(ssid, pass);
    delay(10000);
  } 
  server.begin();
  printWifiStatus();
}
void loop() {       
  WiFiClient client = server.available();
  if (client) {
    Serial.println("Deger gonderildi");
    Serial.print(PPG);
    while (client.connected() &amp; client.available()) {
          client.println("&lt;html&gt;");
          client.println("&lt;body&gt;");
          client.println("&lt;li&gt;");
          client.print(PPG);  //The value should different from zeros but everytime 0
          client.println("&lt;/li&gt;");
          client.println("&lt;br /&gt;");
          client.println("&lt;/body&gt;");
          client.println("&lt;/html&gt;");
      }
    }
    delay(3000);
      client.stop();
      Serial.println("client disonnected");
  }
  void printWifiStatus() {
  Serial.print("Baglandigimiz SSID: ");
  Serial.println(WiFi.SSID());
  IPAddress ip = WiFi.localIP();
  Serial.print("IP Addressi browserda ac: ");
  Serial.println(ip);
  long rssi = WiFi.RSSI();
}
</code></pre>
 368: <p>The capacitor in the sample-and-hold circuit in the ADC frontend is tied to ground and it is <em>very</em> leaky. Unless you have a low or medium impedance output connected to it, you will always read the ground value. An antenna is a <em>very</em> high impedance device.</p>
 83: <p>You are reading the input pin <code>float PPG = analogRead(A7);</code> only in the startup code of your program. Move that into the loop to have it updated before using it.</p>
