Hi Troy,

> Then I have the following code to re-assign it to variables:
> 
> ---------------------------------------------------
> unless ($action) {
> open (TEMP,"$filename2") or die "Can't Open $filename2: 
> $!\n"; $line = <TEMP>; close(TEMP); ($dt, $time, $topic, 
> $eurom) = split(/\|/, $line); $eurom =~ s/<p>/\r/g;  # I'm 
> not sure if this even works &print_form;
> 
> }
> ----------------------------------------------------
> 
> Now, the problem is that the first 3 one line text boxes only 
> re-display the first word of the string, and the multi-line 
> box only displays the first paragraph of the data.  (until 
> the ENTER button is pressed)
> 
> Any ideas on how to make it display ALL the data that was 
> saved to the file. If any of you guys and gals are familiar 
> with web forums - I'm trying to do what they do when you 
> click to EDIT your post.  It shows ALL the data in the text boxes.

You need to do value="$dt" instead of value=$dt - that should solve your
first problem, and try doing s/<p>/&lt;p&gt;/g instead of s/<p>/\r/g; -
I was getting strange results using \r (maybe you could use \n
instead?).

 -dave



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to