in reply to Re: Re: Database question: pulling a particular field from a flat database
in thread Database question: pulling a particular field from a flat database
my($id)=shift(@temp);
to
my($id)=$temp[7];
This however may have other unwanted results in the code since @temp will now have one more element than it did before (since you didn't shift any thing off). You could change all of your shifts to pops and that should do what you want.
If, however, what you are really concerned with is a display issue in the template below, then you'll want to do something like using: $data{$id}{'Listing'} in the display and leave the code alone.
Does that help?
-monkfish (the fishy monk)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Database question: pulling a particular field from a flat database
by koacamper (Acolyte) on Sep 06, 2001 at 06:04 UTC |