"Bob Lockie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> PERL has the CGI library to build HTML.
> print header;
> print start_html('A Simple Example'),
>      h1('A Simple Example'),
>      start_form,
>      "What's your name? ",textfield('name'),
>      p,
>      "What's the combination?",
>      p,
>      checkbox_group(-name=>'words',
>    -values=>['eenie','meenie','minie','moe'],
>    -defaults=>['eenie','minie']),
>      p,
>      "What's your favorite color? ",
>      popup_menu(-name=>'color',
>        -values=>['red','green','blue','chartreuse']),
>      p,
>      submit,
>      end_form,
>      hr;
>
> Does PHP have something similar or do I have to write the raw HTML?

Go to http://pear.php.net and search for 'HTML'. There are several classes
for outputting HTML.

Regards,

Torsten Roehr

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to