set $maxrow to an higher number. (Default is 100)

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Erich Markert
> Sent: Wednesday, April 12, 2000 8:43 PM
> To: Embperl Mailing List
> Subject: Select list strangeness
> 
> 
> I have a table of countries that contains two columns, abbreviations &
> names.
> 
> At the beginning of an HTML doc I have the following code:
> 
> %COUNTRIES       = $lookup->countries($dbh);
> @COUNTRY_ABBREVS = $lookup->country_abbreviations($dbh,'name');   
> unshift(@COUNTRY_ABBREVS,'none');
> $COUNTRIES{'none'}{'name'} = 'Select country';
> 
> This code is used to populate a drop down lists of countries.  The first
> time countries() is called it populates two resident hashes one that is
> keyed by abbreviation and another that is keyed by country name.
> 
> Further down in the HTML doc I have the following:
> 
> <font size="-1"><SELECT NAME="mail_country">
> <OPTION VALUE="[+ $abr=$COUNTRY_ABBREVS[$row] +]">
> [+$COUNTRIES{$abr}{'name'} +]</OPTION>
> </SELECT></font>
> 
> Here's the strangeness...  The drop down list isn't completely populated
> - Hungary is the consistent cutoff.
> 
> If I create a perl script doing the same operations I get a list of 240
> countries.
> 
> Any ideas?
> --
> __________________________________________________________
> Mr. Erich L. Markert                     [EMAIL PROTECTED]
> Computer Learning Center               TEL (914)422-4328
> Pace University
> 1 Martine Ave
> White Plains, New York 10606-1932
> 
> Those who do not understand Unix are condemned to reinvent it, poorly.
>                 -- Henry Spencer
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to