title: Send data from arduino to sql server without ethernet shield
body: <p>I had tried following thing.</p>
  
  <pre><code> &lt;?php
          $servername = "127.0.0.1:3307"; //localhost
          $username = "root";
          $password = "";
  
              // Create connection
              $conn = new mysqli($servername, $username, $password);
  
                  try {
                          $conn = new PDO("mysql:host=$servername;dbname=test", $username,$password);
                              // set the PDO error mode to exception
  
                              echo "Connected successfully"; 
  
                              $sql = "INSERT INTO test.senrdata (temp) VALUES (".$_GET["value"].")"; 
                              echo "query " . $sql ;  
                              $conn-&gt;exec($sql);
  
                              // Execute SQL statement
                      }
      ?&gt;
  </code></pre>
  
  <p>I had tried Arduino code which gives sensor data and store this data on server.</p>