At 11:12 AM 1/3/02 -0700, Naeemah Small wrote:
>I am creating a table form.
>The reason why, is because I want it to be neat.
>I am using CGI.pm
>
>This is my first time making a form in perl.
>How do I do it.

This type of question isn't very useful on this list; let me see if I can 
explain.  It's like going to a Fine Arts school and asking, "How do I paint 
a landscape?"  Well, they'd be happy to show you, but they can't give a 
short answer the way they could if you asked, "What's the best binder for 
mixing Bigglesworth oil paints?"  They're going to have to take a whole 
class to answer your question.

You're not going to get an answer that long here; so people will end up 
pointing you to references or books that teach you the technique, like 
http://www.amazon.com/exec/obidos/ASIN/0201710145, or giving short examples 
which probably won't tell you enough, like this:

use CGI qw(:all);
print header, start_html, startform,
    p('Item ',  textfield(-name => 'what', '-value' => 'burger')),
      p('Condiment: ', radio_group(-name => 'sauce', '-values' => 
[qw(ketchup mustard)])),
    p('Temperature: ',      radio_group(-name => 'temp',   '-values' => 
[qw(rare medium well_done)])),
    submit, endform, end_html;

You can't avoid the tutorial stage.

--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com


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

Reply via email to