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;