Hi , i have the following php script, i want to pass parametrs from
android to script and execute it, can you help me?

<?php
$handle = mysql_connect('localhost','root','');
if($handle==false)
{
die('No database connection');
}
$db=mysql_select_db('test');

$query='INSERT INTO people (id,name) VALUES ("'.$_POST["id"].'" ,"'.
$_POST["name"].'" )';
$result=mysql_query($query);

?>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to