Hello,
I have a value in
[% feature_abbrv %]
that I'd like to use in an SQL statement:
[% USE DBI('dbi:mysql:database=mydatabase') %]
<p>
Features:<br>
[% query = DBI.prepare('SELECT * FROM features
WHERE feature_abbrv = ?') %]
[% FOREACH f = query.execute('ga') %]
[% f.feature_name %]<br>
[% END %]
How can I replace 'ga' with [% feature_abbrv %] so I
can pull the feature that corresponds to the value of
[% feature_abbrv %]?
Thanks....
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/