getbetweendatestate.php

<? include 'xmlheader.php'?>
<?
echo "<?xml version=\"1.0\" ?>";?>
<root>
<?php     
    
include 'include.php';

    
openDatabase();

    
//Gets the state of the game to display in between dates

    
$gameid getGameId();

    
$sGetStateQuery "SELECT dateno, turn, temporaryattraction, permanentattraction, permanencedice, permanencesuccesses, permanencererolls, permanencefailures, betweendates FROM game WHERE gameid = ".$gameid;

    
$rowGame queryDatabaseForSingleRow($sGetStateQuery);

    
outputRowAsXML($rowGame);

    
closeDatabase();
?>
</root>