If this is going to be included in a Dropdown then you'll need to do 
something like :

print "<option>$cc[2]</option>"

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 06 July 2001 16:15
> To: Griffiths, Gregory D. /here
> Subject: RE: Array problem
> 
> 
> 
> At the moment I'm just using print as in
> 
> print "$cc[2]<br>";
> 
> while I try and work out what is wrong.
> 
>           Chris
> 
> 
> ---------------------------------------- Message History 
> ----------------------------------------
> 
> 
> From: [EMAIL PROTECTED] on 06/07/2001 15:10 CET
> 
> To:   Chris Saunders/DMGIT/DMG UK/DeuBa@DMG UK
> cc:
> Subject:  RE: Array problem
> 
> 
> how are you sending it back to the client ? NN can be funny about
> certain things that IE just lets pass.
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: 06 July 2001 16:09
> > To: [EMAIL PROTECTED]
> > Subject: Array problem
> >
> >
> > This might not strictly be a DBI problem so I apologise in advance.
> >
> > I'm writing an enquiry form and want to have some dropdown
> > lists built from the DB so I'm doing a select and then
> > assigning it to an array
> > using push - sample code below...
> >
> > while (@data = $sth->fetchrow_array())
> >      {
> >        push (@cc,@data);
> >      }
> >
> > The problem I've got is I can print the values of the new
> > array in IE but not Netscape and I can't see why. Does
> > Netscape have some
> > sort of limit coz one of the selects is getting aound 6500 elements.
> >
> > I'd appreciate any help you can give me coz I've been stuck
> > on this for about 2 days.
> >
> > Chris
> >
> >
> > --
> >
> > This e-mail may contain confidential and/or privileged
> > information. If you are not the intended recipient (or have
> > received this e-mail in error) please notify the sender
> > immediately and destroy this e-mail. Any unauthorised
> > copying, disclosure or distribution of the material in this
> > e-mail is strictly forbidden.
> >
> >
> >
> 
> 
> 
> 
> 
> 
> --
> 
> This e-mail may contain confidential and/or privileged 
> information. If you are not the intended recipient (or have 
> received this e-mail in error) please notify the sender 
> immediately and destroy this e-mail. Any unauthorised 
> copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden.
> 
> 
> 

Reply via email to