RE: data structures one more try

2003-03-05 Thread David Gilden
Rob,

Good call!

  You can print out the data in @bags and @bag_quantity  
  using Data::Dumper..
  print Dumper [EMAIL PROTECTED];


http://www.coraconnection.com/paul_s/pages/catalog.html

Check this out,   'order' second and third bag in the first row.
and hit the CGI and see the results, bizarre!

Thanks for your help,

Regards

Dave
( kora musician / audiophile / web master @ cora connection /  DFW, TX, USA)

and web designer for Afropop Worldwide
http://www.afropop.org/community/contributors.php?ID=8


==
 Cora Connection: Your West African Music Source
  Resources, Recordings, Instruments  More!
   http://www.coraconnection.com/ 
==
==
 Cora Connection: Your West African Music Source
  Resources, Recordings, Instruments  More!
   http://www.coraconnection.com/ 
==

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



RE: data structures one more try

2003-03-05 Thread David Gilden
Rob and all the rest reading this,

Here's what fixed the problem.
The check boxes are only sent to CGI.pm if  checked,
while all the input fields are sent regardless. So @bag_quantity
was filled with '0's  ...
 get rid of 'o's
@bag_quantity = grep(/[^0]/, @bag_quantity);

 ...this now seems to work 


Thanks, 

Dave
( kora musician / audiophile / web master @ cora connection /  DFW, TX, USA)

and web designer for Afropop Worldwide
http://www.afropop.org/community/contributors.php?ID=8


==
 Cora Connection: Your West African Music Source
  Resources, Recordings, Instruments  More!
   http://www.coraconnection.com/ 
==
 

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