De alguna forma no me esta mostrando los dato de ver detalle de un producto, espero puedan ayudarme,
Tengo un calatogo de items y lo llamo por su ID vean la seccion Tractores sobre orugas
Código PHP :
<a href="detalles.php?id=<?php echo $fila["id_maquina"];?>">Ver Detalles</a>
Pero al entrar en detalles.php ver como se ve detalles
Código PHP :
<?php include_once("config.php"); ?>
<?php
$conex = mysql_connect ("$servidor","$usuario","$password");
if (!$conex)
{
die('NO puede conetarse: ' . mysql_error());
}
mysql_select_db ("$database", $conex);
$id = (isset($_GET["id"])) ? $_GET["id"] : exit();
$resultado = mysql_query ("SELECT * FROM inventory_machinery WHERE $id_maquina=$id"); ?>
<div class="contend-section">
<div class="path">
<table align="right" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="20" align="center"><img src="img/bineta_path.jpg" width="13" height="13"></td>
<td> </td>
<td>Estás en: Principal / Detalles del Items / <?php echo $fila["mark"];?></td>
</tr>
</table>
</div>
<div class="clear"></div>
<div align="right" style="padding-top:3px;"><img src="img/cintilla.jpg" width="398" height="2"></div>
<?php while ($fila = mysql_fetch_assoc($resultado)) {?>
<div class="wrapper-contend">
<div style="margin-top:10px; background-color:#FF0000; height:37px;">
<div class="col-1" style="padding-left:10px; padding-top:10px; color:#FFF; font-weight:bold; font-size:14px;"> </div>
<div class="col-2r" style="padding-right:10px; padding-top:10px;">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4ecbe03f03bfa75d"></script>
<!-- AddThis Button END -->
</div>
<div class="clear"></div>
</div>
<div style="background-color:#DADADA; padding:10px 10px; margin-bottom:20px;">
<div class="col-1">
<div class="detailsitems">
<table cellpadding="0" cellspacing="0" border="0" width="200">
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><strong>Ubicación:</strong></td>
<td></td>
</tr>
<tr>
<td><strong>Marca:</strong></td>
<td><?php echo $fila["mark"];?> </td>
</tr>
<tr>
<td><strong>Modelo:</strong></td>
<td><?php echo $fila["model"];?></td>
</tr>
<tr>
<td><strong>Serie:</strong></td>
<td><?php echo $fila["num_set"];?></td>
</tr>
<tr>
<td><strong>Año:</strong></td>
<td><?php echo $fila["years"];?></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
</div>
</div>
<div class="col-2r">
<div class="multimedia">
<div style="height:235px; background-color: #000;"> </div>
<div style="height:120px; background-color: #CCCCCC;"> </div>
</div>
</div>
<div class="clear"></div>
<div style="padding:10px 0; font-weight:bold;" align="center">Regresar</div>
</div>
<?php } mysql_close($conex); ?>
<div style="background-color:#000; color:#FFF; font-weight:bold; height:20px; padding-top:10px;" align="center">Equipo Similares</div>
</div>
</div>Gracias y saludos
