<?php
session_start();
include_once('_includes/inc_config.php');

$sql = "insert into highscores  set
	 gameid		= '".$_SESSION['played_game_id']."',
	 userid		= '".$_SESSION['username']."',
	 score 		= '".$_GET['score']."',
	 date_time	= '".date("Y-m-d H:i:s")."'
";
$res = mysql_query($sql);
?>