i'm trying to print an option box but when it prints it just prints all the values out in a line instead of printing the option box structure. the code is
print "<table border=1> \n"; print "<tr>\n"; print "<td width=\"9%\">&nbsp;</td>\n"; print "<td width=\"9%\">&nbsp;</td>\n"; print "<td width=\"9%\">image3</td>\n"; print "<td width=\"9%\">&nbsp;</td>\n"; print "<td width=\"9%\">&nbsp;</td>\n"; print "<td width=\"9%\">&nbsp;</td>\n"; print "<td width=\"9%\">&nbsp;</td>\n"; print "<td width=\"9%\">&nbsp;</td>\n"; print "<td width=\"9%\">&nbsp;</td>\n"; print "<td width=\"9%\">&nbsp;</td>\n"; print "<td width=\"10%\">&nbsp;</td>\n"; print "</tr>\n"; print "<tr>\n"; print "<td width=\"9%\"><b><P align=center><SELECT name=Team6 size=1>\ +n"; print "<OPTION selected>$list_of_teamdata[5][1]</OPTION>\n"; print "<OPTION>Business School</OPTION>\n"; print "<OPTION>Admin/Estates</OPTION>\n"; print "<OPTION>CEAC </OPTION>\n"; print "<OPTION>Civ Eng</OPTION>\n"; print "<OPTION>Combined Honours</OPTION>\n"; print "<OPTION>CSAM</OPTION>\n"; print "<OPTION>EEAP</OPTION>\n"; print "<OPTION>MechEng</OPTION>\n"; print "<OPTION>ModLang</OPTION>\n"; print "<OPTION>Vision Sciences</OPTION>\n"; print "<OPTION>Pharmacy</OPTION>\n"; print "&nbsp;</SELECT>\n"; print "</P>\n"; print "</td>\n"; print "</b>\n"; print "<td width=\"9%\"><b><P align=center><SELECT name=score6 size=1> +\n"; print "<OPTION selected value>$list_of_teamdata[5][2]</OPTION>\n"; print "<OPTION>0</OPTION>\n"; print "<OPTION>1</OPTION>\n"; print "<OPTION>2</OPTION>\n"; print "<OPTION>3</OPTION>\n"; print "<OPTION>4</OPTION>\n"; print "<OPTION>5</OPTION>\n"; print "<OPTION>6</OPTION>\n"; print "<OPTION>7</OPTION>\n"; print "<OPTION>8</OPTION>\n"; print "<OPTION>9</OPTION>\n"; print "<OPTION>10</OPTION>\n"; print "<OPTION>11</OPTION>\n"; print "<OPTION>12</OPTION>\n"; print "&nbsp;</SELECT>\n"; print "</P>\n"; print "</td>\n"; etc
i know the print statements aren't pretty but i just want to be able to design an html doc and put it into code. can u see any errors??

In reply to html print out problems by Anonymous Monk

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.