Ver Mensaje Individual
  #7 (permalink)  
Antiguo 08/08/2007, 10:34
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 9 meses
Puntos: 2135
Re: mostrar datos formulario

Si los tienes guardados separados por comas puedes hacer esto:
Código PHP:
$choices explode","$row['opciones'] );

if( 
in_array"esteCheck"$choices ) ) {
     echo 
"<input type=\"checkbox\" name=\"esteCheck\" value=\"algo\" checked=\"checked\" />";

Saludos.