Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > HTML in some Perl

HTML in some Perl
Thread Tools
Forum Regular
Join Date: Mar 2001
Location: CANADA
Status: Offline
Reply With Quote
Aug 10, 2001, 01:54 PM
 
Hi,

I'm trying to modify a perl cgi script so that it generates HTML at this one part.

Right now what gets printed out is like this:

Description = O'Reilly Book

What I'd like it to be like is within an HTML table like this:

<table>
<tr><td>Description&am p;lt;/td> <td>O'Reilly Book</td></tr>
</table>

I am able to get the code in the 2nd field like this:

Description = </td><td>O'Reilly Book</td></tr>

What do I need to do to the following code to add: <tr><td> BEFORE the Description field. Here is the code:

<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>
$text .=
&format_text_field($sc_order_form_array{$form_ field})
. <font color = red>"&lt;/td&gt;&lt;td&gt;= $form_data{$form_field}&lt;/td&gt;&lt;/tr&gt;\n"</font>; }
</font>[/code]

Thanks for any help.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:37 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2