[PHPLIB] oohforms: radio buttons From: Alan Lee (alee <email protected>)
Date: 11/10/99

For all newbies to phplib, I just realized that when making radio
buttons with oohforms, you only have to use 1 add_element() statement.

  $f->add_element(array("type" => "radio", "name" => "whatever" ) );

then when you are ready to show radio buttons for the browser, you can
make as many choices as you want with many show_element() statements.

  $f->show_element("whatever", "A");
  $f->show_element("whatever", "B");
  $f->show_element("whatever", "C");
  $f->show_element("whatever", "D");
  $f->show_element("whatever", "E");
  $f->show_element("whatever", "F");

Things that make you go hmmm...

A
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.