Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

PHP HELP!! working wid flex

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
akshay
Posts: 31
Joined: Sun 24 Jan 2010 11:28 pm
Weather Station: Lacross, Oregon Scientific WMR-9
Operating System: win XP pro

PHP HELP!! working wid flex

Post by akshay »

Hi,
I am working on a project to visualize weather data from cumulus. the data from multiple stations is fed into the data base server and i wanna use that data for real interactive visualization.

Decided to use flex for it (flash builder4)...and php as a server side technology....

the DB contains data frm cumulus monthly file..

can anyone (all php gurus out here) help me with some insight to fetch data from mysql using php to get it into xml or AMF so it can be used in flex for interactive display(charts etc...)


any any help n suggestions are appreciated

thanks
Akshay
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: PHP HELP!! working wid flex

Post by daj »

See my post here. https://cumulus.hosiene.co.uk/viewtopic.php?f=18&t=2373

check out the read_dayfile.php in the zip file as it does what you ask.

Reads data from a MYSQL database table and produces it in a XML format
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
akshay
Posts: 31
Joined: Sun 24 Jan 2010 11:28 pm
Weather Station: Lacross, Oregon Scientific WMR-9
Operating System: win XP pro

Re: PHP HELP!! working wid flex

Post by akshay »

Hi Daj,
Thanks so much for ur guidance....i can get started i guess...
hope i can get the read_dayfile.php to run for my DB table....just confirming on ur table schema..

table name:dayfile

UKLogDate(PK),HighWindGust,HWindGBear,THWindG,MinTemp,TMinTemp,MaxTemp,TMaxTemp,MinPress,
TMinPress,MaxPress,TMaxPress,MaxRainRate,TMaxRR,TotRainFall,AvgTemp,TotWindRun

sry daj, i am just too new to php so pardon my ignorance...
Post Reply