Here one example is given in which i am storing the data into SQL database from Android and also can Display the Data in Android App from SQL
We are using JSON here because It is very useful and it makes easy our work which is actually very difficult without JSON.
JSON (JavaScript Object Notation) is a lightweight data exchange format inspired by JavaScript object
literals. It is often used with JavaScript, Ajax, and RESTful web services but is completely language independent.
temp.php
<?php
mysql_connect("localhost","root","");
mysql_select_db("tempdb");
$name=$_REQUEST["firstname"];
$lname=$_REQUEST["lastname"];
$query="insert...
Sunday, 8 December 2013
Subscribe to:
Posts
(
Atom
)