1 |
6daefa8c
|
Petr Lukašík
|
<HTML>
|
2 |
|
|
<HEAD>
|
3 |
|
|
<META content=text/html;charset=utf-8 http-equiv=Content-Type>
|
4 |
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
|
5 |
|
|
<TITLE>List of OB signs in the scope of OB Graphemic Analyses Project</TITLE>
|
6 |
|
|
</HEAD>
|
7 |
|
|
<body topmargin="15" leftmargin="15" bgcolor="#EFF1FF">
|
8 |
|
|
<h2><center><strong>Selected variants from the Old Babylonian Graphemic Analyses</strong></center></h2>
|
9 |
|
|
<br>
|
10 |
|
|
<?
|
11 |
|
|
@$spojeni = Pg_Connect("user=dbowner dbname=klinopis");
|
12 |
|
|
if (! $spojeni)
|
13 |
|
|
{
|
14 |
|
|
echo ("<br>Nepodarilo se pripojit k datab?zi.<BR>\n");
|
15 |
|
|
exit;
|
16 |
|
|
}
|
17 |
|
|
?>
|
18 |
|
|
<FONT FACE='Arial Unicode' SIZE=3><BR>
|
19 |
|
|
</FONT>
|
20 |
|
|
<?
|
21 |
|
|
$polozky1="bcislo01, scteni";
|
22 |
|
|
$vysledek = Pg_Exec ($spojeni, "SELECT $polozky1 FROM graf01");
|
23 |
|
|
$pocet = Pg_NumRows ($vysledek);
|
24 |
|
|
if ($pocet == 0)
|
25 |
|
|
{
|
26 |
|
|
echo ("Nothing found, try again.");
|
27 |
|
|
} else {
|
28 |
|
|
list ($bcislo01) = Pg_Fetch_Array ($vysledek, $i);
|
29 |
|
|
echo ("Selected Borger's number: <b>$bcislo01</b> <BR>\n$pocet variants found.<br>\n");
|
30 |
|
|
echo ("<BR>\n");
|
31 |
|
|
list ($bcislo01) = Pg_Fetch_Array ($vysledek, $i);
|
32 |
|
|
for ($i=0; $i < $pocet; $i++)
|
33 |
|
|
{
|
34 |
|
|
list ($bcislo01, $scteni) = Pg_Fetch_Array ($vysledek, $i);
|
35 |
|
|
echo ("$bcislo01");
|
36 |
|
|
echo ("$scteni");
|
37 |
|
|
}
|
38 |
|
|
}
|
39 |
|
|
Pg_FreeResult ($vysledek);
|
40 |
|
|
Pg_Close ($spojeni);
|
41 |
|
|
?>
|
42 |
|
|
|
43 |
|
|
</table>
|
44 |
|
|
<br>
|
45 |
|
|
</FONT>
|
46 |
|
|
</BODY>
|
47 |
|
|
</HTML>
|