0
if you have html file on apache server. that you can do:
<?php
$con = mysql_connect($server,$dbuser,$pass,$dbname);
$qry = "INSERT into table (col1) values ('value1')";
mysql_query($con,$qry);
?>
PS: in html file you can write php code evarywhere