in reply to modifying records in a delimited text file

Here's the deal, I have a form that displays a table of the delimited text file values ( I load these from the file, each rec has the format A|B|C|D|E|F|G|H| K where "K" is a unique record num. Next to each record in my table, I have a radio button with a value of the corresponding rec num(which is loaded like
print qq(<INPUT TYPE="radio" NAME="$name" VALUE="$K">);)
. Based on what radio button the user checks, I pass that value to $num2delete. No Love. If I hard code a value in the VALUE="" part, it works fine.

Replies are listed 'Best First'.
RE: Re: modifying records in a delimited text file
by Fastolfe (Vicar) on Oct 18, 2000 at 22:32 UTC
    So...

    <INPUT TYPE="radio" NAME="$name" VALUE="$K"> no work <INPUT TYPE="radio" NAME="$name" VALUE="5"> works
    Is this accurate? Perhaps $K is not being generated correctly? Could you perhaps paste some of the actual generated HTML (a few lines would be sufficient)?