summaryrefslogtreecommitdiffstats
path: root/admin/exportclases/sumniktest.php
blob: 6fefb516cf49bf2f78fef7b50177616c43b71776 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?
mb_internal_encoding("UTF-8");
	echo "Test šumnikov";
require_once('../survey/class.SurveyInfo.php');
SurveyInfo::getInstance()->SurveyInit($_GET['anketa']);
echo "<hr>";
echo SurveyInfo::getInstance()->getSurveyTitle();
echo "<hr>";

$string = SurveyInfo::getInstance()->getSurveyTitle();
$string = iconv ("UTF-8", "CP1250", $string);
for($i = 0; $i < strlen($string); $i++)
{
	echo $string[$i]." -> ".ord($string[$i])."<br>";
}
?>