Ver Mensaje Individual
  #4 (permalink)  
Antiguo 14/04/2006, 19:46
maurozone
 
Fecha de Ingreso: abril-2006
Mensajes: 119
Antigüedad: 18 años
Puntos: 0
hola de nuevo
miren el codigo de donde deben aparecer los items a agregar es este
Cita:
<HTML>
<HEAD>
<TITLE>Sistema de Productos de Patagonia Informatica</TITLE>
<style type="text/css">
<!--
.Estilo1 {
color: #FFFFFF;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 12px;
}
.Estilo2 {
font-size: 12px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.total {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
color: #000000;
border: 1px dotted #000000;
text-align: center;
vertical-align: middle;
}
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: underline;
color: #000000;
}
a:active {
text-decoration: none;
color: #000000;
}
.Estilo4 {color: #FFFFFF}
body {
background-image: url(bg.gif);
margin-left: 100px;
margin-top: 50px;
}
total {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
background-color: #FFFFFF;
border: 1px dotted #00FFFF;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="total2.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.Estilo6 {font-size: 36px; font-family: Geneva, Arial, Helvetica, sans-serif; }
.Estilo8 {font-size: 12px; font-family: Geneva, Arial, Helvetica, sans-serif; color: #000000; }
.Estilo9 {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-style: italic;
font-weight: bold;
font-size: 12px;
}
-->
</style>
<link href="nuevo.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.Estilo11 {color: #000000}
-->
</style>
</HEAD>
<BODY>
<table width="938" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="totales">
<!--DWLayoutTable-->
<tr>
<td width="930" height="60" valign="middle"><div align="center" class="Estilo6">Sistema de Consultas de Patagonia Informatica </div></td>
</tr>
<tr>
<td height="445" valign="top"><?
$link=mysql_connect ("localhost","root");
mysql_select_db ("patagonia",$link);
$result = mysql_query("SELECT * FROM consultas2 WHERE ID = '$id'");
$result1 = mysql_query("SELECT * FROM consultas2 WHERE ID = '$id1'");
?>
<table width="887" align="center" class="total">
<!--DWLayoutTable-->
<tr>
<th width="76" height="17" valign="top" bgcolor="#000000"><span class="Estilo4"><strong>ID</strong></span></th>
<th width="248" align="center" valign="middle" bgcolor="#333333"><span class="Estilo1">Descripcion</span></th>
<th width="119" align="center" valign="middle" bgcolor="#666666"><span class="Estilo1">Marca</span></th>
<th width="81" valign="top" bgcolor="#999999" ><span class="Estilo4">Precio</span></th>
<th width="342"></th>
</tr>
<?

//Mostramos los registros
while ($row=mysql_fetch_array($result and $result1))
{
echo '<tr><td>'.$row["ID"].'</td>';
echo '<td>'.$row["Descripcion"].'</td>';
echo '<td>'.$row["Marca"].'</td>';
echo '<td>' .$row["Precio"].'</td>/tr>';
}
mysql_free_result($total)
?>
</table>

</td>
</tr>
</table>
</BODY>
</HTML>