Location: PHPKode > scripts > roundbase data interface > roundbase-data-interface/save.php
 include ('config.php');
$data1 = strip_tags($data1);
$data2 = strip_tags($data2);
$data3 = strip_tags($data3);
<?php  $dbh=mysql_connect ("localhost", "$user", "$pass") or die ('I cannot connect to the database because: ' . mysql_error());
 mysql_select_db ("$database");
   $query = "INSERT INTO  `data` (  `id` ,  `fld1` ,  `fld2` , `fld3`) 
'',  '$data1',  '$data2' , '$data3'

 $result = mysql_query($query);

<head><title>information has been entered</title>
		<link href="style.css" rel="stylesheet" type="text/css" media="all">
<body bgcolor="#9c9c9c">
		<div align="center">
			<form id="FormName" action="(EmptyReference!)" method="get" name="FormName">
				<div align="center">
					<button name="buttonName" type="button" value="Close Window" onClick="window.close()">
						<div align="center">
								Close window</div>
Return current item: roundbase data interface