Mailing List Archive

Dissapearing /TR's
Greetings,

I am thouroughly at a loss..

The code is as follows:

<form action="adduser2.epl" method=post>
<table border=1>

<tr><td>[+ $head->[$col] +]:<input type="textbox" name="[+ $head->[$col]
+]" value="[+ $result -> [$row][$col] +]"></td></tr>

</table>
<input type=submit>
</form>


And for some strange reason - the output eats all the </tr>'s - thus
leaving me with one long line of results..

Any advice would be *greatly* apprecaited.


//umar.
RE: Dissapearing /TR's [ In reply to ]
>
> <tr><td>[+ $head->[$col] +]:<input type="textbox" name="[+ $head->[$col]
> +]" value="[+ $result -> [$row][$col] +]"></td></tr>
>
Does it change anything if you change your code to the following (intention
is just for better readablility)?

<tr>
<td>
[- $h = $head->[$col] ; $r = $result -> [$row][$col] -]
[+ $h +]:<input type="textbox" name="[+ $h +]" value="[+ $r +]">
</td>
</tr>

Gerald
RE: Dissapearing /TR's [ In reply to ]
Try putting

[.-

$optDisableHtmlScan = 1;
$optDisableTableScan = 1;
$optRawInput = 1;
$escmode = 0;

-]

:) then your html/table whatever code is left alone...

egill

-----Original Message-----
From: Gerald Richter [mailto:richter@ecos.de]
Sent: 21. apríl 2000 19:13
To: Umar Goldeli; embperl@perl.apache.org
Subject: RE: Dissapearing /TR's


>
> <tr><td>[+ $head->[$col] +]:<input type="textbox" name="[+ $head->[$col]
> +]" value="[+ $result -> [$row][$col] +]"></td></tr>
>
Does it change anything if you change your code to the following (intention
is just for better readablility)?

<tr>
<td>
[- $h = $head->[$col] ; $r = $result -> [$row][$col] -]
[+ $h +]:<input type="textbox" name="[+ $h +]" value="[+ $r +]">
</td>
</tr>

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: Dissapearing /TR's [ In reply to ]
> Try putting
>
> [.-
>
> $optDisableHtmlScan = 1;
> $optDisableTableScan = 1;
> $optRawInput = 1;
> $escmode = 0;
>
> -]
>
> :) then your html/table whatever code is left alone...
>
Yes, but I thing that's not what thr original poster wants. As far as I can
see, he wants to iterate over @$result (see the usage of $row and $col)

Gerald