Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/08/2009, 16:40
Avatar de elsolodigno
elsolodigno
 
Fecha de Ingreso: agosto-2009
Mensajes: 225
Antigüedad: 14 años, 8 meses
Puntos: 2
Formulario selección múltiple con php

Hola estimados!, tengo un formulario en html y php, anda bien..., pero ahora le agregué selección múltiple (les paso parte del código):

<?php $r='rojo';?>
<?php $v='verde';?>
<?php $r='azul';?>

..............

<tr>
<td width="30%" class="table_body">elegir</td>
<td width="70%" class="table_body">
<SELECT NAME="Colores" SIZE="1">
<OPTION VALUE="<?=stripslashes(htmlspecialchars($r));?>">R ojo</OPTION>
<OPTION VALUE="<?=stripslashes(htmlspecialchars($v));?>">V erde</OPTION>
<OPTION VALUE="<?=stripslashes(htmlspecialchars($a));?>">A zul</OPTION>
</SELECT>
</td>
</tr>

...............

<td colspan="2" width="100%" class="table_footer">
<input type="hidden" name="submit" value="true" />
<input type="submit" value="<?=$submitvalue;?>" /> &nbsp;
<input type="reset" value="<?=$resetvalue;?>" />
</td>

Envía todo bien pero el dato de la selección múltiple no me llega, qué estoy haciendo mal?. Gracias de antemano!.