Solved

How do I use php as the db for an android app

Posted on 2014-02-13
3
206 Views
Last Modified: 2014-02-16
Just a general idea of what some steps are that i would need to take. Thanks.
0
Comment
Question by:Mark_Co
3 Comments
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 167 total points
ID: 39857188
PHP is a programming language, not a database.  You can use PHP to connect to many different database servers including MySQL and Microsoft SQL Server.  http://www.php.net/manual/en/refs.database.php
0
 
LVL 57

Assisted Solution

by:giltjr
giltjr earned 167 total points
ID: 39857195
By "db" I assume you mean database.  PHP is not a database  it is a scripting language.  You can use PHP to access a database, but it is not a database.
0
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 166 total points
ID: 39858611
PHP is a server-side scripting language.  To understand the world of client/server protocols, please read this article.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/A_11271-Understanding-Client-Server-Protocols-and-Web-Applications.html

The Android App might be a web browser (or behave like one) sending HTTP requests to a server that runs PHP.  The PHP scripts can receive the requests and interface with the data on the server, including any number of files and data bases (maybe MySQL or PostGreSQL) and can return a document (maybe HTML) to the Android App.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question