Well I've give it another lucky shot...
I don't know what is happening, but I also remember seeing a fethall_hashref():PS after thinking about it it's probably because you don't have the foreach statement, when it goes to print in the template that HASH(goobledygook) is probably the combination of both ID's & Both Title's.
Try taking out the array_to_hash line and in this line:
if ($sth->rows) {
$featured_r = $sth->fetchall_arrayref();
}
Change it to fetchall_hashref();
I know I've seen that for fetchrow statements so it might exist for the fetchall statement too...You should also add in a foreach statement to print out one line for each link you want in your fetured.txt file.
[This message has been edited by phoule (edited March 13, 2000).]
I don't know what is happening, but I also remember seeing a fethall_hashref():PS after thinking about it it's probably because you don't have the foreach statement, when it goes to print in the template that HASH(goobledygook) is probably the combination of both ID's & Both Title's.
Try taking out the array_to_hash line and in this line:
if ($sth->rows) {
$featured_r = $sth->fetchall_arrayref();
}
Change it to fetchall_hashref();
I know I've seen that for fetchrow statements so it might exist for the fetchall statement too...You should also add in a foreach statement to print out one line for each link you want in your fetured.txt file.
[This message has been edited by phoule (edited March 13, 2000).]