Hi,
Cheers for the response - I watched that video earlier, but it refers to posting to a website / text file as opposed to an SQL database
My concern with my code is actually about my "host"
I am using phpmyadmin databsse running from Xampp.
What should I be entering as my "host" - and is this the same here:
//Server Variables
const char* host = "192.168.0.11";
WiFiClient client;
As here:
if (client.connect(host, 80))
{
Serial.println("\nAdding to database...");
client.print("GET / send_data.php?latitude = ");
client.print(latitude);
client.print("&longitude = ");
client.print(longitude);
client.println(" HTTP / 1.1");
client.println("Host : 192.168.0.11"); // SERVER ADDRESS <----
client.println( "Content - Type : text / php" );
client.println("Connection : close");
client.println();
client.println();
x++;
}