Thread: Perl/HTML issue
Results 1 to 1 of 1
HTML with hyperlinks issue with adding more attributes? Forum: HTML ForumReplies: 2
Perl/CGI issue Forum: CGI Perl ForumReplies: 1
How to post a variable from HTML to perl and from perl to HTML Forum: CGI Perl ForumReplies: 1
How to post a variable from HTML to perl and from perl to HTML Forum: Website Scripts ForumReplies: 0
Another html table issue...... Forum: HTML ForumReplies: 4
11-10-2006, 03:58 PM #1
I have a script I purchased, and I am attempting to modify it. It reads an array of states. The array is already alphabetized. It then lists them in two columns, but it displayes left, right, left, right, instead of down the left column, then down the right column. The reason is that it uses print qq~<td>...</td> ~
and a conditional </tr> if it is time for a new row.
I think I know the logic here, I need to count the size of the array, assign a variable to int half that number, list the first half in one column, then the other half in the second column. To make it worse, I have never used Perl before, and my HTML skills are basically Frontpage and Cut and Paste. (no CSS skills, but I get the concept.)
If someone could give me some hints on how to get started, I would appreciate it.