Re: first steps with mod_perl

[email protected] (Marek)
Newsgroups perl.beginners.cgi
Organization http://groups.google.com
Message-ID <[email protected]>
On 9 Okt., 12:07, [email protected] (David Dorward) wrote:
> On 9 Oct 2007, at 04:04, Marek wrote:
>
snip
>
> According to the CGI.pm documentation, it defaults to XHTML (so it  
> should be outputting checked="checked") unless you use -dtd to  
> specify an HTML 2.0 or 3.2 DTD. (Why not HTML 4.x I've no idea). You  
> can also use the -no_xhtml pragma to turn off XHTML generation.
>

Hello David,


thank you for your reply. I found the mistake, which made CGI.pm
produce these lonely <p /> tags. I wrote :

print start_form,
p,("What's your name? ",textfield('name')),
...

instead of :

print start_form,
p("What's your name? ",textfield('name')),
...

see my example my posting before. Only the checked instead of
checked="checked" and selected instead of selected="selected" are
left. Could somebody help me here again and I will stop to bother this
group with my beginners questions ...


greetings


marek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.