can you do this?
php/
$states[]=$row['display_name'];
template/
$smarty->assign("option_values", $states);
Yes. This is just what Rod was doing with $link in the code he posted. If the link code is working and the states bit isn't try and spot any differences between the two. The assign should go in the PHP, BTW.
You could try something like this as a temporary debugging measure:
PHP:
$smarty->assign("option_values_size", count($states));
Template:
{$option_values_size}
You should get a positive integer back, if not, something's going wrong before the assign statement.
Ben