6 Einträge, 1 Seite |
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
71
72
73
74
sub anzeigen
{
my ($dbh, $sth, $ref, $anz);
$dbh = WebDB::connect();
$sth = $dbh->prepare ("SELECT ArtID, Reihenfolge, ArtNr, ArtGruppe, ArtNGruppe, ArtTitel, ArtText, ArtPreis, ArtMWSt, ArtRabatt, ArtEigenschaften, ArtBildklein, ArtBildgross FROM shop1_artikel_1 Where ArtID = 33");
$sth->execute ();
while (my $ref = $sth->fetchrow_hashref ())
print start_form (-action => url ()),
table (
Tr (
td ("ArtNr:"),
td (textfield (-name => "name",
-size => 15))
),
Tr (
td ("ArtGruppe"),
td (textfield (-name => "name",
-size => 5))
),
Tr (
td ("ArtNGruppe"),
td (textfield (-name => "name",
-size => 5))
),
Tr (
td ("ArtTitel:"),
td (textfield (-name => "name",
-size => 60))
),
Tr (
td ("ArtText:"),
td (textarea (-name => "name",
-cols => 60, -rows => 4))
),
Tr (
td ("ArtPreis:"),
td (textfield (-name => "name",
-size => 15))
),
Tr (
td ("ArtMWSt:"),
td (textfield (-name => "name",
-size => 15))
),
Tr (
td ("ArtRabatt:"),
td (textfield (-name => "name",
-size => 15))
),
Tr (
td ("ArtEigenschaften:"),
td (textfield (-name => "name",
-size => 15))
),
Tr (
td ("ArtBildklein:"),
td (textfield (-name => "name",
-size => 25))
),
Tr (
td ("ArtBildgross:"),
td (textfield (-name => "name",
-size => 25))
),
),
br (),
submit (-name => "aktion", -value => "Absenden"),
" ",
submit (-name => "aktion", -value => "Löschen"),
end_form ();
print p hr();
}
while (my $ref = $sth->fetchrow_hashref ())
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
sub anzeigen
{
my ($dbh, $sth, $ref, $anz);
$dbh = WebDB::connect();
$sth = $dbh->prepare ("SELECT ArtID, Reihenfolge, ArtNr, ArtGruppe, ArtNGruppe, ArtTitel, ArtText, ArtPreis, ArtMWSt, ArtRabatt, ArtEigenschaften, ArtBildklein, ArtBildgross FROM shop1_artikel_1 Where ArtID = 33");
$sth->execute ();
while (my $ref = $sth->fetchrow_hashref ()){
my %hash = %{$ref};
print start_form (-action => url ()),
table (
Tr (
td ("ArtNr:"),
td (textfield (-name => "name",
-size => 15,
-value => $hash{'ArtNr'}))
),
Tr (
td ("ArtGruppe"),
td (textfield (-name => "name",
-size => 5,
-value => $hash{'ArtGruppe'}))
),
Tr (
td ("ArtNGruppe"),
td (textfield (-name => "name",
-size => 5,
-value => $hash{'ArtNGruppe'}))
),
Tr (
td ("ArtTitel:"),
td (textfield (-name => "name",
-size => 60,
-value => $hash{'ArtTitel'}))
),
Tr (
td ("ArtText:"),
td (textarea (-name => "name",
-cols => 60, -rows => 4,
-value => $hash{'ArtText'}))
),
Tr (
td ("ArtPreis:"),
td (textfield (-name => "name",
-size => 15,
-value => $hash{'ArtPreis'}))
),
Tr (
td ("ArtMWSt:"),
td (textfield (-name => "name",
-size => 15,
-value => $hash{'ArtMWSt'}))
),
Tr (
td ("ArtRabatt:"),
td (textfield (-name => "name",
-size => 15,
-value => $hash{'ArtRabatt'}))
),
Tr (
td ("ArtEigenschaften:"),
td (textfield (-name => "name",
-size => 15,
-value => $hash{'ArtEigenschaften'}))
),
Tr (
td ("ArtBildklein:"),
td (textfield (-name => "name",
-size => 25,
-value => $hash{'ArtBildklein'}))
),
Tr (
td ("ArtBildgross:"),
td (textfield (-name => "name",
-size => 25,
-value => $hash{'ArtBildgross'}))
),
),
br (),
submit (-name => "aktion", -value => "Absenden"),
" ",
submit (-name => "aktion", -value => "Löschen"),
end_form ();
print p hr();
}
6 Einträge, 1 Seite |