Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
CLDC and MIDP
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Jan 3, 2011 1:52 AM by
submit data on mysql using php or html
Dec 12, 2010 1:02 PM
I have a mysql database and i insert data in the table using html form which uses a php script.
How can i insert data into the table from java me?
my php file looks like this
$con = mysql_connect("mysql10.000webhost.com","a7456565_zzz","zzz");
die('Could not connect: ' . mysql_error());
$sql="INSERT INTO GPS (lat,lon)
die('Error: ' . mysql_error());
echo "1 record added";
This content has been marked as final.
Show 1 reply
Re: submit data on mysql using php or html
Jan 3, 2011 1:52 AM
in response to
You need to create a http connection to the php script, send the data through this connection and then finally insert it to db using php. Check