non ho capito bene quello che vuoi fare, ma potresti fare una cosa del genere
Codice PHP:
$array_value = array("1","2","3");
$array_echo = array("Sufficente","buono","ottimo");
$class "boh";

$n count($array_value);
if (
$n==count($array_echo)) {
   echo 
"<form action=\"$GLOBALS[PHP_SELF]\" method=\"post\">";
   echo 
'<select name="rates" class="'.$class.'">'
  for (
$i=0;$i<$n;$i++) {

     echo 
"<option value=\"$array_value[$i]\">$array_echo[$i]</option>\n";

  }
echo 
"</select>";

puoi anche creare una funzione che accetti come parametri quelle variabili