Re: problem when submitting a string through a form
- From: Ted Zlatanov <tzz@xxxxxxxxxxxx>
- Date: Fri, 04 Jan 2008 07:23:30 -0600
On Thu, 3 Jan 2008 10:00:22 -0800 (PST) Nikos <nikos1337@xxxxxxxxx> wrote:
N> The problem is that when the user selects something from my popup
N> menu(one string) and then submits it, the returned string being sent
N> back to my index.pl ain't matching this line: unless ( grep { $_ eq
N> param('select') } @display_files )
What is the exact content of param('select') at this point?
What is the exact content of @display_files?
Use Firefox+Firebug to see the exact data being posted back to the
server. What is the 'select' parameter's content? Show the entire POST
operation's data load.
As an aside, you may want to look into CGI::FormBuilder to build forms
easily (or the Template Toolkit, or Mason, or any other such toolkit)
and Rose::DB::Object to get your DB data.
Ted
.
- References:
- problem when submitting a string through a form
- From: Nikos
- Re: problem when submitting a string through a form
- From: Paul Lalli
- Re: problem when submitting a string through a form
- From: Nikos
- Re: problem when submitting a string through a form
- From: Nikos
- Re: problem when submitting a string through a form
- From: RedGrittyBrick
- Re: problem when submitting a string through a form
- From: Nikos
- problem when submitting a string through a form
- Prev by Date: Forcefully release release to OS
- Next by Date: Re: Forcefully release release to OS
- Previous by thread: Re: problem when submitting a string through a form
- Next by thread: FAQ 6.20 Are Perl regexes DFAs or NFAs? Are they POSIX compliant?
- Index(es):