in reply to Re^3: Populating an array from a mysql select
in thread Populating an array from a mysql select
Although @titlelist is filled with all entries from titlelist.txt file(one entry per line), when it gets printed with popup_menu it displays nothing at all!!Also this: my @titlelist; open FILE, "<$ENV{'DOCUMENT_ROOT'}/data/vault/titlelist.txt" or die $!; @titlelist = <FILE>; close FILE; print br() x 3; print start_form( action=>'/cgi-bin/admin.pl' ); print table( {class=>'user_form'}, Tr( td( 'Πές μου τι _ +2;α ήθελες:' ), td( popup_menu( -name=>'title' -values=>\@titlelist ))), Tr( td( 'Κάτι άλλο π +;ου θα ήθελες ν +;α σχολιάσεις? +' ), td( textarea( -name=>'remark', -rows=>4, -columns=>25 ))), Tr( td( 'Το τηλέφων +ο επικοινωνί&# +945;ς σου για επι&# +946;εβαίωση είναι:' ), td( textfield( -name=>'phone' )) +), Tr( td( a( {href=>'/cgi-bin/show.pl?name=showbook'}, font( {size=>3, color=>'yellow'}, 'Εμφάν_ +3;ση!' ))), td( submit( 'Αποστολή +;!' ))) ); print hidden(-name=>'date', -value=>$date); print hidden(-name=>'host', -value=>$host); print end_form();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Populating an array from a mysql select
by Fletch (Bishop) on May 04, 2007 at 19:53 UTC | |
by blazar (Canon) on May 05, 2007 at 15:16 UTC |