PHP Page and Mysql data R/W


dear guys,
i'm starting work on intrest project (hopefully) installed monitoring system on solar panel installation.
as first step monitoring analog datas, second step shuld defined in ordr remotely control several features via digital output.

let's go problem:
i've created php page allow me, using url string, upload value local mysql database.
everything working fine when php page running on local computer (i'm using xampp)

then i've tried move php page arduino sd card, changing on php code information of database location:
from "localhost" machine name or ip address

my yun configured php reading, unfortunately, simulating string not on localhost on php file located arduino sd, nothing working.

i receive following error, line 35 1 should establish database connection....

fatal error: call undefined function mysql_connect() in /mnt/sda1/arduino/www/solarduino/upload_value.php on line 35


thanks in advance suggestion or comment!

regards
daniele


php send yun sensor data mysql on external server

http://forum.arduino.cc/index.php?topic=239575.msg1720142#msg1720142




Arduino Forum > Products > Arduino Yún (Moderator: fabioc84) > PHP Page and Mysql data R/W


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code