First I'd like to say that I'm kind of new to programming but learning fast and am looking for information anywhere I can find it.This is kind of a long question but here goes. How does one, say, in a guest book limit the number of entries per page and number the pages, and at the same time alternate the back ground color between entries? Another version of the same question-I've seen image galleries where the number of images per row are limited as to how many images as well as how many rows per page before moving on the next page???I have seen different forums and image galleries and have read through the code behind some of them but for some reason or other I can't seem to put my finger on some type of syntax for this. I have even read books on perl and the answer is probably right in front of me but my eyes need opened to whatever it is I'm missing. Any/all help/guidance/insight would really be greatly appreciated. While I'm on a roll with the questions what is the syntax for eliminating a string from form input-namely "http://www." in a input type="text"name="url" situation. I've been able to figure out lots of information on perl programming from reading and the price of schooling is really out of the question. Thanx, Dave dave@godhears.com

In reply to Syntax Questions by rugrat

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.