Why won't my arduino code upload data to database>?

agrp87132:
Somehow he started a new thread. Wires crossed. Somewhat my fault.

No. He has 4 separate threads (see reply 18 above).

Not your fault.

It's his fault!