Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: CGI form results to XML

by 7stud (Deacon)
on Feb 17, 2013 at 01:29 UTC ( #1019091=note: print w/ replies, xml ) Need Help??


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

++ for being able to decipher that post.


Comment on Re^2: CGI form results to XML
Re^3: CGI form results to XML
by spencerr1 (Novice) on Feb 17, 2013 at 02:54 UTC

    Ha Ha

    I knew you were going to say that. I could not find the button to upload the code

    I knew you were going to say that

Re^3: CGI form results to XML
by spencerr1 (Novice) on Feb 17, 2013 at 17:04 UTC

    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");

      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://1019091]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2015-07-05 07: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 (60 votes), past polls