develooper Front page | perl.beginners | Postings from March 2002

in over my head, but having fun treading water

James Woods
March 2, 2002 00:48
in over my head, but having fun treading water
Message ID:
Greetings all,

I've attached my code as a text document (hope this newsgroup takes 

The address of the page that I'm working on is

The page seems like it should be pretty simple... but I'm a total newbie to 

When you check various boxes in the "Play" column and click "Update" the 
following should happen:
1) the checked cards should be removed from the "Draw Deck"
2) the checked cards should be added to "Played Cards"

The cards are removed from the "Draw Deck" just fine, but the "Played Cards" 
side is populated with the next card in the "Draw Deck" list (as opposed to 
the exact card you checked).  It's easiest to just check the first card, and 
pay attention to the second card.  The second card will show up in the 
"Played Cards" list, but the first card (the one you checked) gets removed 
from the "Draw Deck".

I'm figuring that I'm just missing some @rray thing (being 0-based and all), 
but I just can't see what I'm doing wrong.

I appreciate all the help!


James Woods
Web Developer for Christ by night
WebMaster at by day
Web Applications and Cold Fusion Programming

MSN Photos is the easiest way to share and print your photos: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About