1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
|
<html>
<head>
<title>Erstellen einer LK</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
function lade_neu (tid_wert) {
window.location.href = "lk_erstellen.php?idt=" + tid_wert;
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>
<select name="themen" onChange="lade_neu(this.value)">
<option value="0" selected>bitte Thema auswählen</option>
<?
$sqlstr="SELECT * FROM themen ORDER BY Themenbezeichnung;";
$sqlresult=mysql_query($sqlstr,$db);
while ($ds=mysql_fetch_row($sqlresult)) {
echo"<option value='" . $ds[0] . "'>" . $ds[1] ."</option>";
};
?>
</select>
</p>
<p> </p>
<table width="75%" border="1">
<tr>
<td width="47%">
<select name="fragen" size="20">
<?
$sqlstr="SELECT * FROM `fragen` WHERE IDThema= " . $idt . ";";
$sqlresult=mysql_query($sqlstr,$db);
while ($ds=mysql_fetch_row($sqlresult)) {
echo"<option value='" . $ds[0] . "'>" . $ds[1] ."</option>";
};
?>
</select>
</td>
<td width="3%">
<input onclick=input type="submit" name="lkfragen" value=">">
<p>
<input type="submit" name="Abschicken2" value="<">
</p>
</td>
<td width="50%">
<select name="select" size="20">
<?
$sqlstr="SELECT * FROM `lkfragen` WHERE IDThema= " . $idt . ";";
$sqlresult=mysql_query($sqlstr,$db);
while ($ds=mysql_fetch_row($sqlresult)) {
echo"<option value='" . $ds[0] . "'>" . $ds[1] ."</option>";
};
?>
</select>
|