Hello O' Wise Ones,
I'm trying to write a script to produce html pages from a
user input or submission with the ability to rate. I
need to enter an ssi code in the html section of the
script. I'm sure the solution is rather simple as I am a
complete Perl novice. Everything works except for the printing of the $id value.
Here is the line of code:
<!--#include virtual="/cgi-bin/rating/rate_display.cgi?java=yes&product=Name_of_Product&id=$id"-->
The $id is created and printed to a flat database file but I cannot get it to print in the html output page. I'm
sure I'm formatting it incorrectly or something. If it were an input from the html form field, it would
print fine so I probably have to convert this value somehow.
Any ideas?
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.