[PHPLIB] querying an attribute of a form element From: Alan Lee (alee <email protected>)
Date: 11/15/99

Does anyone know a simple way to query a single attribute of a form
element?

I'd like to add my own attributes to form elements and then be able to
query their values like this:

   $f->add_element(array("type" => "text",
                         "name" => "dungeon",
                         "special" => "Question #33"));

   $z = $f->query_special_thing("dungeon", "special");

$z would then be "Question #33".

Allen
-
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.