in reply to Re: Basic Array Question
in thread Basic Array Question
Thanks Jeff & Darren,
I understand this part, that sets the 2 variables to the 2 fields:
while (my ($page_title, $hit_count) = $cursor->fetchrow_array) {
I assume the next line is setting the page_hits hash, with the index being $page_title and the value being $hit_count, right?
Next dumb question, what is the '%' in front of the page_hits?, and why use 'my'?
Sorry for the ignorance , this is certainly not PHP :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Basic Array Question
by saberworks (Curate) on May 10, 2006 at 17:53 UTC |