Thank you for trying to help me.

I have the HTML button and the SQL statmenet ready but dont know where to go from here?

**HTML:** print " <div style=\"z-index:86;\" class=\"group-shell\">"; print " <table>\n"; print " <tr><td><input class=\"dial-red-button\" id=\"importFrom +CAD\" type=\"submit\" value=\"Import Info\"></td></tr>\n";

**javascript-jquery**

<script type="text/javascript">

\$(document).ready(function() {

\$('#importFromCAD').click(function () {

\$('#importNav').val('');

return true;

**Perl SQL statement:**

$sql_statement20 = "select * FROM CT_AL_CAD_ID where CAD='$CAD' ORDER BY KeyField DESC";

$sth20 = $dbh->prepare($sql_statement20);

$sth20->execute();

$sth20->bind_columns(undef, \$ID_data[0], \$ID_data1, \$ID_data2, \$ID_data3, \$ID_data4, \$ID_data5, \$ID_data6, \$ID_data7, \$ID_data8, \$ID_data9, \$ID_data10, \$ID_data11, \$ID_data12);

$sth20->fetch();


In reply to Re^2: Perl: info from database into a form(HTML) by alen129
in thread Perl: info from database into a form(HTML) by alen129

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.