vijayayarra has asked for the wisdom of the Perl Monks concerning the following question:
Thank you for given reply. Actually what my problem here is. I have to extract the data from database and which has to be assigned to one of the text field based on the given input value.
say per example
something like above , given input value is len but directly I can use text field name in the sql query ofcourse by using javascript<input type="text" name="len"> $query="select gc from gene where length=len"; $qy=$e->prepare($query); $qy->execute(); $res=$qy->fetchrow; <input type="text" name="gc" value=$res>
len variable have the text field value but that also is not compatible with perl.var len=document.len.value
What should I do? please tell me the way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to pass html text field value to perl variable
by CountZero (Bishop) on Feb 24, 2009 at 10:49 UTC | |
|
Re: How to pass html text field value to perl variable
by moritz (Cardinal) on Feb 24, 2009 at 08:52 UTC |