Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Calling a PERL script from an html form

by InfiniteSilence (Curate)
on Jun 01, 2014 at 14:49 UTC ( #1088173=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use CGI qw|:standard|;
    #my $firstname = $in{name};                                           
    +        
    my $firstname = CGI::param('name');
    
  2. or download this
    use strict; #<- get into the habit of using this
    #...
    ...
    while (($lastname, $date_first_employed, $annual_salary, $id,
    $email_address, $home_phone_number, $emergency_phone_number) = $sth->f
    +ethrow_array())
    #...
    
  3. or download this
    "SELECT lastname, date_first_employed, annual_salary FROM employees WH
    +ERE firstname = $qfirstname,                     
    SELECT * FROM employee_contacts WHERE contact_id = $qcontactid")
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1088173]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2022-10-01 11:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (126 votes). Check out past polls.

    Notices?