Cita:
Iniciado por Death_Empire
puedes mostrar el formulario me parece que ahi esta el error
si lo dices por "fichero" debo decirte que esta correctamente puesto, pero aun asi lo pongo
Código HTML:
<html>
<head>
<title>Producto</title>
</head>
<body background="imagenes/18.gif">
<form method="post" name="clientes" action="inproducto.php">
<br>
<br>
<table border="1" align="center">
<tr>
<td align="center"> Nombre: </td>
<td> <input type="text" name="nombre"> </td>
</tr>
<tr>
<td align="center"> Descripcion: </td>
<td> <input type="text" name="descripcion"> </td>
</tr>
<tr>
<td align="center"> Precio </td>
<td> <input type="text" name="precio"> € </td>
</tr>
<tr>
<td align="center"> Foto Principal: </td>
<td> <input name="fichero" type="file"> </td>
</tr>
<tr>
<td align="center"> Descuento: </td>
<td> <input type="text" value="0" name="descuento"> € </td>
</tr>
<tr>
<td align="center"> Puntos necesarios: </td>
<td> <input type="text" value="0" name="puntosd"> <img src='imagenes/puntos.gif' border='0'>
</td>
</tr>
<tr>
<td align="center"> Guardar en: </td>
<td>
<select name="tipo">
<?php
include 'conexion.inc';
$categorias="select * from categoria" ;
$rc=mysql_query ($categorias,$conexion);
while ($regcategorias=mysql_fetch_array($rc)){
echo"<option value=".$regcategorias["nombre"].">".$regcategorias["nombre"]."</option>";
}
?>
</select>
</td>
</tr>
<tr>
<td align="center"> <a href="index">Volver</a></td>
<td align="center"><input type="submit" value="Enviar formulario"/></td>
</tr>
</table>
</form>
</body>
</html>