trackingapp for phonegap (php,mysql and ajax)

40 views
Skip to first unread message

Deepa Deshpande

unread,
Jul 6, 2017, 11:39:18 AM7/6/17
to phonegap
hello all,

iam learning phonegap, i have created tracking app for my apllication.
1)basically what i did is i have stored lat and long in database and displaying it on map.

2)second thing i am updating lat and long from database every 5sec


so my question i have 3 files
a) index.php  (for users)

b)location.php and index.html(for suppliers)

i want only index.php file for users to see,i.e,displaying map and updating position with multiple markers in phonegap


kindly please  suggest me how it is done in phonegap?


thanks in advance

Rob Willett

unread,
Jul 6, 2017, 12:14:24 PM7/6/17
to phonegap
You cannot run php files on cordova. Php is a server side technology.

If you are looking for help on php, this is not the group.


--
-- 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
---
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/d/optout.

johnwargo

unread,
Jul 7, 2017, 1:46:13 PM7/7/17
to phonegap
I've published a pretty thorough description of why you can't use php files in a Cordova/PhoneGap app at http://www.informit.com/articles/article.aspx?p=2481899. Describes how you migrate the app into something Cordova apps can run. 
Reply all
Reply to author
Forward
0 new messages