I'm trying to insert data to a MySQL database from an arduino yun (which runs a linux distribution). I was told on the arduino forums that the first thing I need to do is write a PHP script that I can invoke from the command line and that can connect and insert data into my mysql database.
I've already figured out how to create a web form and php script to insert into a MySQL database.
As a complete novice could you please guide me?
Much appreciated,
Charlie