Ok, How to access an array element rewritten
Hello Esteemed Colleagues,
What I want to do is,
Retrieve data from a database.
put this into @currentpoll
Currentpoll returns the following array
| id | field | content | date |
| 11 | currentpoll | Test Poll | 2006-03-23 |
There is other data in this table, however i retrieve doing the following search
my @currentpoll = LSRfm::Database::Data->search(field => 'currentpoll');
Hence there is only one row.
Now I want to put the content column into a "memory box" called @search, so in this case @seacrh would be Test Poll,
now i want to take @search and use its value to search a different database in a similar fashion to;
my @pollresults = LSRfm::Database::PollResults->search(field => @search);
But I all ready know how to do that
Hopefully that should have cleared up the questions from
Here
The idea with this being I can change the currentpoll Content value, without having to alter the perl script.
Yours
Barry Carlyon