Tag Archives: drop down box loading in aps package

Storing a value into the settings variable in aps package.

Below sample code will execute through verification script will work sample code to load a country dropdownbox. $str = “<?xml version=’1.0′ encoding=’UTF-8′?>”; $str .= ‘<output xmlns=”http://apstandard.com/ns/1/configure-output”><settings><setting id=”country”>’; foreach () { $str .=    ‘<choice id=”‘.$id.’”><name>’.htmlspecialchars($cname).'</name></choice>’; } $str .= ‘</setting></settings>’; echo $str;