Ver Mensaje Individual
  #5 (permalink)  
Antiguo 04/10/2004, 12:01
Avatar de neofito
neofito
 
Fecha de Ingreso: noviembre-2003
Mensajes: 138
Antigüedad: 20 años, 6 meses
Puntos: 0
Es cierto Covids0020, ya lo he arreglado pero me sigue sin funcionar al pasar la opción del menú me da diferentes errores según la opción que selecciono:

- Unknown column 'blanco' in 'field list'
- You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'azul where id=11' at line 1


Código PHP:
<select name="p_predecesor">
        <? foreach($categs as $categ) { ?>
        <option value="<?=$categ['predecesor']?>">
        <?=$categ['predecesor']?></option>
        <? }?>
        <option selected>???????</option>
              </select>

Última edición por neofito; 04/10/2004 a las 12:02