You're missing some code that we need to see. You showed the SQL for retreiving the date, but I don't see anything where you're setting up the statement handle for your fetchrow_array.
You disconnected your database handle after you retreive the date and never do anything else with it
If you are expecting to do the fetchrow_array from 'SELECT DISTINCT date FROM mailserve', your DISTINCT will only retreive one row, but that doesn't matter since you destory your database handle (which destroys your statement handle $sth). You are also only retrieving 1 value (date) which would be $rowxx[0] not $rowxx[1].
grep
| Mynd you, mønk bites Kan be pretti nasti... |
In reply to Re: DBI fetch array
by grep
in thread DBI fetch array
by perleager
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |