3.5. choice

Choice element, explicit choice (pull down menu).

create a choice element:

element createChoice (string value, array array, [string name], [string status]]);

parameter:

example:

		$myChoice = $ippfp->createChoice("",array(1 => "value 1", 2 => "value 2", 3 => "value 3"),"mychoice");
		

Note: getValue() will give you the key, not the item. getValueAsString() will give you the item.