Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: CGI form results to XML

by spencerr1 (Novice)
on Feb 17, 2013 at 17:04 UTC ( #1019167=note: print w/ replies, xml ) Need Help??


in reply to Re^2: CGI form results to XML
in thread CGI form results to XML

7stud I have a question

where do I put the code you suggested if I want these repeat HTML name and value fields (Birthdays) and all the rest of the name and value fields in the form

#! /usr/bin/perl use CGI "param"; print "Content-type: text/html\n\n"; print "&ltresponse&gt<BR/>"; foreach my $name ( param() ) { my $values = param ($name); print "&lt$name&gt<I>$values&lt/$name&gt</I><BR>"; } print "&lt/response&gt<BR/>";
my @birthdays = param ("birthday");


Comment on Re^3: CGI form results to XML
Select or Download Code
Replies are listed 'Best First'.
Re^4: CGI form results to XML
by Anonymous Monk on Feb 17, 2013 at 17:12 UTC
Re^4: CGI form results to XML
by Anonymous Monk on Feb 17, 2013 at 19:22 UTC

    Thanks for the links and the heads up

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2015-07-28 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls