<html
xmlns:o='urn:schemas-microsoft-com:office:office'
xmlns:w='urn:schemas-microsoft-com:office:word'
xmlns='http://www.w3.org/TR/REC-html40'>
<head><title>Time</title>
<xml>
<w:worddocument xmlns:w="#unknown">
<w:view>Print</w:view>
<w:zoom>90</w:zoom>
<w:donotoptimizeforbrowser />
</w:worddocument>
</xml>
<style>
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in ;
mso-header-margin:.5in;
mso-footer-margin:.5in; mso-paper-source:0;}
div.Section1
{page:Section1;}
</style>
</head>
<body lang=EN-US style='tab-interval:.5in'>
<div class="Section1">
<h1>Hello Word!</h1>
</div>
</body>
</html>
<?php
include("ayar.php");
mysql_query("SET NAMES UTF8");
$konuid=$_POST["konuid"];
$adet=$_POST["yazilansorusayisi"];
$query = @mysql_query("SELECT * FROM soru where konuid='$konuid' order by rand() limit $adet ");
session_start();
//$_SESSION['a']=1;
while ($row = @mysql_fetch_array($query))
{ @$_SESSION['b']=$_SESSION['b']+1;
$x=$_SESSION['b'];
$soru=$row["sorucumle"];
$asecenegi=$row["asecenegi"];
$bsecenegi=$row["bsecenegi"];
$csecenegi=$row["csecenegi"];
$dsecenegi=$row["dsecenegi"];
echo $x. ") ".$soru."<br>"."A) ".$asecenegi."<br>"."B) ".$bsecenegi."<br>"."C) ".$csecenegi."<br>"."D) ".$dsecenegi."<br><br>";
$x=$x+1;
}
@$_SESSION['b']=$x-1;
?>