N
Nikos
$select = $db->prepare( "SELECT username FROM users" );
$select->execute;
my @userlist = $select->fetchrow_array;
print start_form( action=>'/cgi-bin/index.pl' );
print h1( {class=>'lime'}, "ÅðÝëåîå ôï êåßìåíï ðïõ óå åíäéáöÝñåé
=> ",
popup_menu( -name=>'select', -values=>
\@userlist ),
submit('ÅìöÜíéóç'));
print end_form;
In the above code insteaf od the array filling by all usernmes
selected from the dataabse it only populates the 1st one.
I want all users to be listed on the pop up menu.
$select->execute;
my @userlist = $select->fetchrow_array;
print start_form( action=>'/cgi-bin/index.pl' );
print h1( {class=>'lime'}, "ÅðÝëåîå ôï êåßìåíï ðïõ óå åíäéáöÝñåé
=> ",
popup_menu( -name=>'select', -values=>
\@userlist ),
submit('ÅìöÜíéóç'));
print end_form;
In the above code insteaf od the array filling by all usernmes
selected from the dataabse it only populates the 1st one.
I want all users to be listed on the pop up menu.