Solved

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

Posted on 2014-02-13
3
199 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 82

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 108

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Creating and Managing Databases with phpMyAdmin in cPanel.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now