Location: PHPKode > projects > Prsaar Social Networking Platform > PrsaarColour-0.7.alpha.6.3/pr-admin/option-update.php
<?php
	require_once('admin.php');
	
	//update the general page----------------------
	if($Action === 'option_general')
	{
		foreach($_POST as $Key => $KeyValue)
		{
			$KeyValue = str_replace("'", "\'", $KeyValue);
			$DC->Result("REPLACE INTO ".PR_DATABASE_PREFIX."config SET config_name = '{$Key}', config_value = '{$KeyValue}'");
		}
		header("Location: option.php?highlight=options_updated");
		exit();
	}
?>
Return current item: Prsaar Social Networking Platform