Cere Davis <mailto:[EMAIL PROTECTED]>
    on Monday, June 07, 2004 3:28 PM said:

[snip]
> ...have a web
> library that writes basic html form input html types for like
> radio_button(name,val) and checkbox(name,val) type functions.  I can't
> see that php has this type of feature.

i'm pretty sure that a class within the PEAR library will do this. but
you could easily and very quickly write your own functions.

function radio_button($name, $value)
{
        echo "<input id=\"$name\" type=\"radio\" name=\"$name\"
value=\"$value\" />";
}

etc.



hth,
chris.

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

Reply via email to