Hi, Ive made a number of mods. to the output so that when there is more than one record is found the data is output to a mini-table. Each record then has a hotlink to bring up the full record. What Im trying to do is add a footer to the full record page with a Modify this record link, however cant get the key to appear in my search field. So far Ive got this :
if ( $db_total_hits == 1 ) {
&html_record (&array_to_hash($_, @hits));
print qq!
<p><table border=0 bgcolor="#DDDDDD" cellpadding=5 cellspacing=3 width=500 valign=top>
<tr><td> <a href="$db_script_link_url&$db_key=$rec{'Entry_Number'}&ww=on&modify_form=Search">|Modify this record|</A>D</td></tr>
<tr><td>!; &html_footer; print qq!</td></tr>
</table>
</blockquote>
</body>
</html> !;
return;
How do I get the data $rec{'Entry_Number'} into this subroutine ?
Thanks in advance for any help, Nik
if ( $db_total_hits == 1 ) {
&html_record (&array_to_hash($_, @hits));
print qq!
<p><table border=0 bgcolor="#DDDDDD" cellpadding=5 cellspacing=3 width=500 valign=top>
<tr><td> <a href="$db_script_link_url&$db_key=$rec{'Entry_Number'}&ww=on&modify_form=Search">|Modify this record|</A>D</td></tr>
<tr><td>!; &html_footer; print qq!</td></tr>
</table>
</blockquote>
</body>
</html> !;
return;
How do I get the data $rec{'Entry_Number'} into this subroutine ?
Thanks in advance for any help, Nik