Foros del Web » Creando para Internet » Herramientas y Software »

Unknown column 'Precio' in 'field list'

Estas en el tema de Unknown column 'Precio' in 'field list' en el foro de Herramientas y Software en Foros del Web. Al publicar la página me dá el siguiente mensaje. He comprobado los juegos de registro en dreamweaver pero no falta el campo Precio. Y aquí ...
  #1 (permalink)  
Antiguo 25/05/2009, 10:31
 
Fecha de Ingreso: septiembre-2008
Mensajes: 185
Antigüedad: 15 años, 7 meses
Puntos: 1
Unknown column 'Precio' in 'field list'

Al publicar la página me dá el siguiente mensaje. He comprobado los juegos de
registro en dreamweaver pero no falta el campo Precio. Y aquí mando el div
mainContent por si pudiera estar aquí el fallo.
En local no me dá este fallo y se puede ver perfectamente

------------------------------------------------------------------------
<div id="mainContent">


</div>
<p>
<!-- Este elemento de eliminación siempre debe ir inmediatamente después del div #mainContent para forzar al div #container a que contenga todos los elementos flotantes hijos -->
</p>
<p>&nbsp;</p>
<table width="96%" height="75%" border="1" align="center" cellpadding="10">
<tr>
<td width="33%" height="30" bordercolor="#FFFFFF"><form id="form2" name="form2" method="get" action="busq_categ_ publi.php">
<label for="Docuid"></label>
<div align="left">
<select name="Docuid" id="Docuid">
<?php
do {
?>
<option value="<?php echo $row_Categorias_Publi['Categoriaid']?>"><?php echo $row_Categorias_Publi['Nombre']?></option>
<?php
} while ($row_Categorias_Publi = mysql_fetch_assoc($Categorias_Publi));
$rows = mysql_num_rows($Categorias_Publi);
if($rows > 0) {
mysql_data_seek($Categorias_Publi, 0);
$row_Categorias_Publi = mysql_fetch_assoc($Categorias_Publi);
}
?>
</select>
<input type="submit" name="button2" id="button2" value="Categorias" />
</div>
<label for="button2"></label>
</form></td>
<td width="47%" height="30" bordercolor="#FFFFFF"><form id="form3" name="form3" method="get" action="busq_palabra_ publi.php">
<label for="texto"></label>
<div align="left">
<input name="texto" type="text" id="texto" size="35" />
<input type="submit" name="button3" id="button3" value="Buscar palabra" />
</div>
<label for="button3"></label>
</form></td>
</tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF"><div align="right" class="Estilo19">
<table width="264" border="0" align="left">
<tr>
<td class="Estilo18"><?php if ($pageNum_Documentos > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_Documentos=%d%s", $currentPage, 0, $queryString_Documentos); ?>" class="Estilo8">Primero</a>
<?php } // Show if not first page ?> </td>
<td class="Estilo18"><?php if ($pageNum_Documentos > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_Documentos=%d%s", $currentPage, max(0, $pageNum_Documentos - 1), $queryString_Documentos); ?>" class="Estilo8">Anterior</a>
<?php } // Show if not first page ?> </td>
<td class="Estilo18"><?php if ($pageNum_Documentos < $totalPages_Documentos) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_Documentos=%d%s", $currentPage, min($totalPages_Documentos, $pageNum_Documentos + 1), $queryString_Documentos); ?>" class="Estilo8">Siguiente</a>
<?php } // Show if not last page ?> </td>
<td><?php if ($pageNum_Documentos < $totalPages_Documentos) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_Documentos=%d%s", $currentPage, $totalPages_Documentos, $queryString_Documentos); ?>" class="Estilo18">&Uacute;ltimo</a>
<?php } // Show if not last page ?> </td>
</tr>
</table>
<span class="Estilo14">Documentos <?php echo ($startRow_Documentos + 1) ?> a <?php echo min($startRow_Documentos + $maxRows_Documentos, $totalRows_Documentos) ?> de <?php echo $totalRows_Documentos ?></span> </div></td>
</tr>

<?php do { ?>
<tr>



<td height="40" colspan="2" bgcolor="#B7FFFF"><form id="form4" name="form4" method="post" action="carrito_de_compras.php">
<label for="imageField"></label>
<label for="imageField"></label>
<input type="image" name="imageField" id="imageField" src="../imagenes/carrito.gif" />
<input name="Titulo" type="hidden" id="Titulo" value="<?php echo $row_Documentos['Titulo']; ?>" />
<input name="Precio" type="hidden" id="Precio" value="<?php echo $row_Documentos['Precio']; ?>" />
<input name="Cantidad" type="hidden" id="Cantidad" value="1" />
</form></td>
<td bgcolor="#B7FFFF" ><span class="Estilo19">Precio</span>:<span class="Estilo14"><?php echo $row_Documentos['Precio']; ?> Euros</span></td>
</tr>
<tr bgcolor="#CCCCCC">
<td height="39" colspan="3" class="Estilo19">Autor:<?php echo $row_Documentos['Autor']; ?></td>
</tr>
<tr bgcolor="#CCCCCC">
<td height="39" colspan="3" class="Estilo19">T&iacute;tul<span class="Estilo16">o:</span><?php echo $row_Documentos['Titulo']; ?> <span class="Estilo15"><span class="Estilo16"><a href="<?php echo $row_Noticiero['']; ?>?Docu_id=<?php echo $row_Documentos['Docu_id']; ?>">Ver Documento</a></span></span></td>
</tr>
<tr>
<td height="39" colspan="3" bordercolor="#FFFFFF"><div align="left"><span class="Estilo14 Estilo13">Sinopsis:</span><span class="Estilo18"><?php echo nl2br($row_Documentos['Sinopsis']); ?></span></div>
<div align="left" class="Estilo18"></div></td>
</tr>
<tr>
<td height="39" colspan="2"><span class="Estilo19"><?php echo $row_Documentos['Nombre']; ?></span></td>
<td width="20%" class="Estilo20"><?php echo $row_Documentos['Fecha']; ?></td>
</tr>
<?php } while ($row_Documentos = mysql_fetch_assoc($Documentos)); ?>
</table>
<table width="90%" border="1" align="center" cellpadding="10">

</table>

<p><br class="clearfloat" />

</div>
  #2 (permalink)  
Antiguo 25/05/2009, 11:37
 
Fecha de Ingreso: enero-2002
Ubicación: Barcelona
Mensajes: 279
Antigüedad: 22 años, 4 meses
Puntos: 1
Respuesta: Unknown column 'Precio' in 'field list'

No creo que tenga que ver con el dreamweaver. A simple vista parece que el campo Precio no esté en la tabla de la base de datos que estés usando.
__________________
Sataca - La Retícula
www.lareticula.com
  #3 (permalink)  
Antiguo 25/05/2009, 12:10
 
Fecha de Ingreso: abril-2009
Mensajes: 121
Antigüedad: 15 años
Puntos: 0
Respuesta: Unknown column 'Precio' in 'field list'

Dijiste "Precio" ?

intenta poniendo en las consultas "precio"


y pone tu codigo en u ntag de codigo xq no puedo localizar la consulta que queres xd
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 13:09.