From ad848a3d5e86602f7a568e6a0b034b21a177171a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 12 Sep 2012 18:32:20 +0100 Subject: [PATCH] wip, before radiobuttons --- mason/edit | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mason/edit b/mason/edit index 8dddaa2..c8ee036 100755 --- a/mason/edit +++ b/mason/edit @@ -37,6 +37,9 @@ if ($ARGS{'create'}) { $tx = $sth->fetchrow_hashref();# } +my $usedq = $dbh->prepare("SELECT * FROM addresses ORDER BY emailaddr"); +$usedq->execute(); + if (!$tx) { die "no such text $textid"; } @@ -46,6 +49,14 @@ if (!$tx) { die "no such text $textid"; } +
+% while (my $row = $usedq->fetchrow_hashref()) { + + +% } +

-- 2.30.2

Use for <% $row->{'emailaddr'} |h %> +>