iDroid wrote:
Oh, never knew that. Thanks.
If that isn't the problem... Then what is?
No problems, even I learn new things each day, much from other users here on the forum and from way too much googling
The other parts of the code royalldonkey has put together will be the problem.
His 'Type Content', mixing of http versions, and also I wonder about the following;
client.println(DatatoSend.length());
I am unsure if that will work, it looks like nice oop style, but I think you need to use the length function.
Also, the use of the 'String' data type is discouraged due to some issues, use a char array instead.
The code I have placed above is in my working Arduino and POST's to my sql database each 60 seconds.
The code I used is based on code developed by SurferTim.
@H2SO4
I will post a section of php with sql code up here shortly, just having first morning coffee
Regards,
Paul