Display data from Mysql database using PHP with a Phonegap android application

10,515 views
Skip to first unread message

Soussi Hatem

unread,
Mar 25, 2012, 5:31:06 PM3/25/12
to phonegap
I want to know how to Display data from Mysql database using PHP with
a Phonegap android application using webservices.
Thanks

jcesar

unread,
Mar 27, 2012, 2:50:53 AM3/27/12
to phonegap
You have to look for info about creating xml or json with PHP
once you have the xml or json you have to look for info about how to
send data with javascript via AJAX, receive and parse the response.

I thin I will make a tutorial soon.

Soussi Hatem

unread,
Apr 17, 2012, 3:58:38 PM4/17/12
to phonegap
Please I'm blocked for my project :(

WebSteve

unread,
Apr 18, 2012, 10:44:29 AM4/18/12
to phon...@googlegroups.com

Soussi Hatem

unread,
Apr 26, 2012, 3:06:07 PM4/26/12
to phonegap
Nothing that helps me :'(

On Apr 18, 2:44 pm, WebSteve <shust...@aeteam.net> wrote:
> Master Google says,
>
> http://community.phonegap.com/nitobi/topics/jquery_ajax_call_using_ph...

jcesar

unread,
Apr 27, 2012, 9:13:33 AM4/27/12
to phonegap
How to create xml from a mysql database using PHP

http://www.techrepublic.com/article/create-xml-with-mysql-and-php/5035149

parsing xml with jquery

http://www.switchonthecode.com/tutorials/xml-parsing-with-jquery

you put both together and get what you need

David Devane

unread,
Nov 27, 2013, 12:09:55 PM11/27/13
to phon...@googlegroups.com
Did anyone find a tutorial on how to do this. I am trying to receive gps coordinates from a mysql database and place markers on a google map.At the moment I just have a google map with the users location appearing as a red marker. Please give me some guidance.

madhu latha

unread,
Dec 2, 2013, 10:09:29 AM12/2/13
to phon...@googlegroups.com

Hi,
Use ajax webservice to retrieve data from server.

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Loiane Groner

unread,
Dec 2, 2013, 10:27:21 AM12/2/13
to phon...@googlegroups.com
Don't forget to use CORS on the php code: http://enable-cors.org/

Loiane Groner
Reply all
Reply to author
Forward
0 new messages