mysql_connect("localhost",$username,$password)
or die("Could not connect: ".mysql_error());
mysql_select_db($db_name)
or die("Uneable to select database!");
$sql = "INSERT INTO `$table_name` (pole1,pole2) VALUES ('$stoinost1','$stoinost2')";
mysql_query($sql) or die("Could not connect: ".mysql_error());