explict listing

This commit is contained in:
Serghey Rodin 2012-05-20 18:23:49 +03:00
commit d59de4c125
18 changed files with 196 additions and 13 deletions

View file

@ -36,7 +36,7 @@ document.v_add_user.v_password.value = randomstring;
<?php
foreach ($data as $key => $value) {
echo "\t\t\t\t<option value=\"".$key."\"";
if ((!empty($v_package)) && ( $key == $_POST['package'])){
if ((!empty($v_package)) && ( $key == $_POST['v_package'])){
echo 'selected' ;
}
echo ">".$key."</option>\n";