Thread Übergabe CGI (5 answers)
Opened by Gast at 2004-05-18 17:43

Gast Gast
 2004-05-18 16:39
#2562 #2562
Hallo,
habe ein kleines Problem. Ich erhalte bei auswert_name nur die Elemente von Auswahl und Anzahl. Benötige aber trotzdem noch die Elemente von den Auswahllisten. Kann mir jemand sagen, wie ich an diese komme?
Code: (dl )
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
61
62
63
64
65
66
67
68
69
70
print "<form action = \"auswert_name.pl\" method = \"post\">";
print "<table border = 0 width = 200>";
print "<tr bgcolor = #F2F2F2>";
print "&nbsp;Auswahl:";
print "</tr>";
print "<tr bgcolor = #F2F2F2>";
print "<input type=radio name= \"Art\" value=\"Server\"> Servername";
print "</tr>";
print "<tr bgcolor = #F2F2F2>";
print "<input type=radio name= \"Art\" value=\"Service\"> Servicename";
print "</tr>";
print "</table>";



print "<br>";
print "<table border = 0 width=600 cellspacing = 0 cellpadding = 0>";


print q(<tr>);

print "<td>Standort:</td>";
print "<td>Funktion:</td>";
print "<td>Kennung:</td>";

print q(</tr>);
print q(<tr>);
print "<td>";

print "<select name =\"standort\">";
foreach (@standorte) {
print "<option> $_->[1] </option>";
}
print " </select>";

print "</td>";

print "<td>";
print "<select name = funktion>";
foreach (@funktionen) {
print "<option value=$_->[0]> $_->[1] </option>";
}
print " </select>";
print "</td>";

print "<td>";
print "<select name = kategorie>";
foreach (@kategorie) {
print "<option value=$_->[0]> $_->[1] </option>";
}
print " </select>";
print "</td>";
print "</tr>";
print "</table>";

print "<BR><BR>";

print "<table>";
print "<tr>";
print "<td width = 200>";
print "Anzahl:&nbsp;&nbsp; <input name=\"anzahl\" type = int min = 1 max = 999 size=10>";
print "</td>";
print " <td>";
print "<input type=\"submit\" value=\" Absenden \">";
print "&nbsp;&nbsp";
print "<input type=\"reset\" value=\" Abbrechen \">";
print "</td>";
print "</tr>";
print "</table>";
print "</form>";

format_c: Code-Tags spendiert\n\n

<!--EDIT|format_c|1084919040-->

View full thread Übergabe CGI