Location: PHPKode > scripts > roundbase data interface > roundbase-data-interface/savepref.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<?php include ('config.php') ?>
<?php
$field1= "\$fld1 = \"{$fld1}\";\n";
$field2= "\$fld2 = \"{$fld2}\";\n";
$field3 = "\$fld3 = \"{$fld3}\";\n";
$title = "\$title = \"{$title}\";\n";
$var = "<?php\n{$pre}{$field1}{$field2}{$field3}{$title}?>";
if ($spinstall == "true"){
$fopen = "{$spdir}/prefs.php";
} else {
$fopen = "prefs.php";
}

$file = fopen($fopen, 'w'); 
fwrite($file, $var); 
fclose($file);
?>

<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<meta name="generator" content="Adobe GoLive" />
		<title>Prefrences saved</title>
		<link href="style.css" rel="stylesheet" type="text/css" media="all" />
	</head>

	<body bgcolor="#ffffff">
	<?php include "header.php";?>
		<p>
		<p>
		</p>
		
		<p></p>
		<p>Your prefrences have been saved</p>
		<p></p>
	</body>

</html>
Return current item: roundbase data interface