예제 #1
0
    $logRec->setGallons($logRecordGallons);
    $logRec->setOctane($logRecordOctane);
    $logRec->setDipstick($logRecordDipstick);
    $logRec->writeRecord();
}
header("content-type: text/xml");
?>


<SaveLogRecord>
	<logId><?php 
echo $logRec->getId();
?>
</logId>
	<previousRecordId><?php 
echo $logRec->getPreviousRecord();
?>
</previousRecordId>
	<nextRecordId><?php 
echo $logRec->getNextRecord();
?>
</nextRecordId>
<?php 
foreach ($errors as $key => $value) {
    ?>
	<error id="<?php 
    echo $key;
    ?>
"><?php 
    echo $value;
    ?>