Using SSI is quite simple, and powerful to boot, since SSI is built into the webserver, it is generally very quick. I have a Perl program that generates website statistics (hits, etc) using the Apache logs. This program takes various arguments, one of which outputs just a simple total/daily hits value. Wit SSI, I can just call this program with the correct argument and have that value placed in the webpage dynamically:
<!--#exec cmd="program -t daily" -->
Really simple, I hope I am clear. Answer to your second question can be done in two words: use CGI.

As for using MYSQL, I generally don't recommend it unless you expect your database to be recieving multiple simultaneous queries - this is where MYSQL shines. It's really a production database. For almost all of my needs, a simple Berkley DBASE works just fine; it is quick and succint, and does not have all the inherent complexities like permissions, etc, that maintaining a MYSQL database has.

Cheers,
John

------------------------------------
"There is more in heaven and earth
than is dreamt of in your philosophy"

In reply to Re: SSI/Database questions by lacertus
in thread SSI/Database questions by sulfericacid

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.