encolo Member Licensed User Longtime User Mar 3, 2010 #1 I need to connect with mysql server from a device emulator. I tried the Mysql library, but it not work on the device, only on the desktop Regards Enrico
I need to connect with mysql server from a device emulator. I tried the Mysql library, but it not work on the device, only on the desktop Regards Enrico
Erel B4X founder Staff member Licensed User Longtime User Mar 3, 2010 #2 You can create a simple web service (with PHP for example) that will run on the server and will handle the devices queries, which will be issued with the HTTP library.
You can create a simple web service (with PHP for example) that will run on the server and will handle the devices queries, which will be issued with the HTTP library.
Erel B4X founder Staff member Licensed User Longtime User Aug 28, 2010 #4 Search (outside) for "php mysql tutorial". The php code should read the "get" (or "post") parameters, issue the queries accordingly and print the response. This code returns an array with the "get" parameters: $_GET and $_POST are special arrays that holds the get and post parameters.
Search (outside) for "php mysql tutorial". The php code should read the "get" (or "post") parameters, issue the queries accordingly and print the response. This code returns an array with the "get" parameters: $_GET and $_POST are special arrays that holds the get and post parameters.
L laura New Member Aug 30, 2010 #5 :sign0013: Erel!!! I would like yto know how can I use XML i saw Syntax: Table1.SaveXML (File Name) and Syntax: LoadXML (File Name) and I was trying... but I really don't know.... I'm new:sign0148: can you help me? do you have an example?
:sign0013: Erel!!! I would like yto know how can I use XML i saw Syntax: Table1.SaveXML (File Name) and Syntax: LoadXML (File Name) and I was trying... but I really don't know.... I'm new:sign0148: can you help me? do you have an example?
M mjcoon Well-Known Member Licensed User Aug 30, 2010 #6 laura said: I would like yto know how can I use XML i saw Syntax: Table1.SaveXML (File Name) and Syntax: LoadXML (File Name) and I was trying... Click to expand... These are just for saving and restoring tables and people have had problems with them; see http://www.b4x.com/forum/questions-help-needed/3337-table-colwdith-doesnt-work-device.html#post18863. If you have already tried perhaps you would like to attach your code to a message and someone will have a look at it. It's easier than you trying to explain what you wish to do or someone trying to expain all about XML... Mike.
laura said: I would like yto know how can I use XML i saw Syntax: Table1.SaveXML (File Name) and Syntax: LoadXML (File Name) and I was trying... Click to expand... These are just for saving and restoring tables and people have had problems with them; see http://www.b4x.com/forum/questions-help-needed/3337-table-colwdith-doesnt-work-device.html#post18863. If you have already tried perhaps you would like to attach your code to a message and someone will have a look at it. It's easier than you trying to explain what you wish to do or someone trying to expain all about XML... Mike.