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



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to