( ! ) Notice: Undefined index: Categoria in C:\wamp\www\Buy OL\ingresaproducto.php on line 63
Call Stack
# Time Memory Function Location
1 0.0015 408072 {main}( ) ..\ingresaproducto.php:0
( ! ) Notice: Undefined index: Imagen in C:\wamp\www\Buy OL\ingresaproducto.php on line 65
Call Stack
# Time Memory Function Location
1 0.0015 408072 {main}( ) ..\ingresaproducto.php:0
Column 'Categoria' cannot be null
el codigo del formulario es el siguiente:
<form action="<?php echo $editFormAction; ?>" method="post" enctype="multipart/form-data" name="form1" id="form1">
<table align="center">
<tr valign="baseline">
<td nowrap="nowrap" align="right">Nombre:</td>
<td><span id="sprytextfield1">
<input type="text" name="Nombre" value="" size="32" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right">Precio:</td>
<td><span id="sprytextfield2">
<input type="text" name="Precio" value="" size="32" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right">Categoria:</td>
<td><label for="select"></label>
<select name="select" id="select">
<option value=""></option>
<option value="HO">Hogar</option>
<option value="TI">Tiempo Libre</option>
<option value="IN">Infantil</option>
<option value="EL">Electronica</option>
<option value="VE">Vehiculos</option>
<option value="DE">Deporte</option>
</select></td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right" valign="top">Descripcion:</td>
<td><span id="sprytextarea1">
<textarea name="Descripcion" cols="50" rows="5"></textarea>
<span class="textareaRequiredMsg">A value is required.</span></span></td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right">Imagen:</td>
<td><input name="" type="file" id="imagen" dir="ltr" lang="es" /></td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right"> </td>
<td><input type="submit" value="Ingresar" /></td>
</tr>
</table>
<input type="hidden" name="MM_insert" value="form1" />
</form>
Profavor necesito ayuda, la nacesito terminar para el viernes!