I am using a shopping cart script and am having trouble changing the way my information is displayed in a table. I would like my information fields to be displayed in two columns, one field (and field name) in each column. At the moment the field name shows up in one column and the field shows up in the other column.
I'm pretty sure the following code is what I need to modify. Can you take a look and see if you can pinpoint what needs to be changed? Thanks!
Here's the code snippet:
#########
######### Print the contents of the cell.
#########
print <<ENDOFTEXT;
<TD VALIGN="TOP" WIDTH="50\%"><FONT FACE="$html_small_font_face" SIZE="$html_small_font_size"
COLOR="$html_small_font_color"><B>$optionprod_name$notnull_string</B></FONT></TD>
<TD VALIGN="TOP" WIDTH="50\%">
ENDOFTEXT
&ste_prod_show_options_disp($optionprod_id,$optionprod_name, $optionprod_display_type,$optionprod_inv,$optionprod_required, $optionprod_descript);
print "</TD>\n";
if ($row_count eq "2") {
$row_count = "1";
} else {
$row_count++;
} ######### End of if statement.
print "</TR>\n";
} ######### End of foreach statement.
[edited by: jatar_k at 4:00 pm (utc) on April 19, 2004]
[edit reason] no personal urls thanks [/edit]