LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send Data to PHP to Add Data to MySQL?

I can't access my MySQL database directly (GoDaddy ;-(( ) so I need to send the data through a PHP script. Has anyone done this yet? I have several ideas on how to accomplish this, but nothing seems efficient.

 

Any Ideas?

 

TIA, 

Jim 

 

LV7.1

LV8.0 

0 Kudos
Message 1 of 5
(2,894 Views)

Hi Jim,

what are your ideas? You can use the webbrowser activex component to load the page and fill out the elements.

 

Hope it helps.

Mike

0 Kudos
Message 2 of 5
(2,893 Views)

Soooo... my idea was to use a Data Socket and write the values as part of the URL, but I don't know exactly how it is accomplished. I can read from a PHP page using this method to query data and this works quite well. I am doing more research and have found some good info.

 

Which way is better Data Socket or Browser Object?

 

Thanks,

Jim 

0 Kudos
Message 3 of 5
(2,879 Views)

Hi Jim,

if you can send your data as part of the URL, then i think it´s easier as using the Browser object.

 

Mike

0 Kudos
Message 4 of 5
(2,870 Views)

Well...I got it to work as a URL multiple variable. It seems like a crude way to send data and I can only insert one row at a time, but WTH -- it works ;-))

 

Thanks for your help!!

 

Jim 

0 Kudos
Message 5 of 5
(2,849 Views)