Judith: Checkbox value

Beitrag lesen

hihi - das würde ich gerne tun, wenn ich auch nur die geringst ahnung hätte wie es geht - das script von matthew wright so hochzuladen, dass es auch funktioniert war bisher meine höchstleistung ... :-(

immer wenn ich am script rumbastle, läuft es danach nicht mehr. momentan lautet der code für die ausgabe wie folgt:

# If a sort order is specified, sort the form fields based on that.  #
        if ($Config{'sort'} =~ /^order:.*,.*/) {

# Set the temporary $sort_order variable to the sorting order,   #
            # remove extraneous line breaks and spaces, remove the order:    #
            # directive and split the sort fields into an array.             #
            $sort_order = $Config{'sort'};
            $sort_order =~ s/(\s+|\n)?,(\s+|\n)?/,/g;
            $sort_order =~ s/(\s+)?\n+(\s+)?//g;
            $sort_order =~ s/order://;
            @sorted_fields = split(/,/, $sort_order);

# For each sorted field, if it has a value or the print blank    #
            # fields option is turned on print the form field and value.     #
            foreach $sorted_field (@sorted_fields) {
                local $sfname = &clean_html($sorted_field);

if ($Config{'print_blank_fields'} || $Form{$sorted_field} ne '') {
                    print "<b>$sfname:</b> $Form{$sorted_field}<p>\n";

Hi,

also ich hab keine Ahnung, warum das mit den URLs nicht geht, aber mach doch in deinem Code, der die Eingabe verarbeitet einfach ein Array welches die URLs enthält und dann als Value bloß die Indizes.

Gruß,
Tim