It's interesting that you bring this up. Over the past few weeks, I have been working on a web form that will allow my users to select some parms from a webpage and genereate a set of graphs based on their selections.

Aside from needing to create some indexes to speead the inital load of the page and selection boxes, I previously, hadn't had any concerns about coding in the manner I have. Now, I am concerned that I should rethink my position.

Just to give some background. I have some input in the initial db design, but it needs to be setup in a manner where there is really no maintenance by the users. Once I turn it over to them, it's theirs. I never ever see it again. It will be fed by a .csv file once per month.

How would some of you propose I alter this code?

The resultant webpage is here.

As a side note...I am currently devloping it using MySQL, but the backend db will become MS Access.

perl -e 'print reverse qw/o b n a e s/;'

In reply to Re: Eliminating Dynamic SQL Generation with Decision Matrices for Tighter Large Scale Applications by seanbo
in thread Eliminating Dynamic SQL Generation with Decision Matrices for Tighter Large Scale Applications by princepawn

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.