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
my @birthdays = param ("birthday");#! /usr/bin/perl use CGI "param"; print "Content-type: text/html\n\n"; print "<response><BR/>"; foreach my $name ( param() ) { my $values = param ($name); print "<$name><I>$values</$name></I><BR>"; } print "</response><BR/>";
|
---|
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 |
In Section
Seekers of Perl Wisdom