Ver Mensaje Individual
  #11 (permalink)  
Antiguo 23/09/2011, 10:17
Avatar de mauricioheat
mauricioheat
 
Fecha de Ingreso: septiembre-2011
Ubicación: Bogota
Mensajes: 39
Antigüedad: 12 años, 7 meses
Puntos: 0
Respuesta: Como guardar informacion en variable con multiples datos

continuacion del escript cotizacion.php

<?php echo $riw['producto']?></td>
<td> <span class="Estilo11"><?php echo utf8_encode ($riw['descripcion']);?></span></td>
<td width="262" align="center" class="Estilo11"><?php echo $zonas25?> </td>
</tr>
</table>

<?php }?>
<?php if ($ventanas>0){?>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="186"> <span class="Estilo11"> <?php
$result=mysql_query('SELECT producto,descripcion FROM productos WHERE id="'.$p27.'"',$link);
$riw = mysql_fetch_array($result);
?>

<?php echo $riw['producto']?></td>
<td> <span class="Estilo11"><?php echo utf8_encode ($riw['descripcion']);?></span></td>
<td width="262" align="center" class="Estilo11"><?php echo $ventanas?> </td>
</tr>
</table>

<?php }?>
<?php if ($carga_descarga_borrar>0){?>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="186"><span class="Estilo11"> <?php
$result=mysql_query('SELECT producto,descripcion FROM productos WHERE id="'.$p28.'"',$link);
$riw = mysql_fetch_array($result);
?>

<?php echo $riw['producto']?></td>
<td> <span class="Estilo11"><?php echo utf8_encode ($riw['descripcion']);?></span></td>
<td width="262" align="center" class="Estilo11"><?php echo $carga_descarga_borrar?> </td>
</tr>
</table>

<?php }?>
<?php if ($analisis_bbdd>0){?>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="186"><span class="Estilo11"> <?php
$result=mysql_query('SELECT producto,descripcion FROM productos WHERE id="'.$p39.'"',$link);
$riw = mysql_fetch_array($result);
?>

<?php echo $riw['producto']?></td>
<td> <span class="Estilo11"><?php echo utf8_encode ($riw['descripcion']);?></span></td>
<td width="262" align="center" class="Estilo11"><?php echo $analisis_bbdd?> </td>
</tr>
</table>

<?php }?>
<?php if ($acceso>0){?>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="186"><span class="Estilo11"> <?php
$result=mysql_query('SELECT producto,descripcion FROM productos WHERE id="'.$p21.'"',$link);
$riw = mysql_fetch_array($result);
?>

<?php echo $riw['producto']?></td>
<td> <span class="Estilo11"><?php echo utf8_encode ($riw['descripcion']);?></span></td>
<td width="262" align="center" class="Estilo11"><?php echo $acceso?> </td>
</tr>
</table>

<?php }?>
<?php if ($carritobasico>0){?>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="186"> <span class="Estilo11"> <?php
$result=mysql_query('SELECT producto,descripcion FROM productos WHERE id="'.$p29.'"',$link);
$riw = mysql_fetch_array($result);
?>

<?php echo $riw['producto']?></td>
<td> <span class="Estilo11"><?php echo utf8_encode ($riw['descripcion']);?></span></td>
<td width="262" align="center" class="Estilo11"><?php echo $carritobasico?> </td>
</tr>
</table>

<?php }?>
<?php if ($carritopersonalizado>0){?>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="186"> <span class="Estilo11"> <?php
$result=mysql_query('SELECT producto,descripcion FROM productos WHERE id="'.$p30.'"',$link);
$riw = mysql_fetch_array($result);
?>

<?php echo $riw['producto']?></td>
<td> <span class="Estilo11"><?php echo utf8_encode ($riw['descripcion']);?></span></td>
<td width="262" align="center" class="Estilo11"><?php echo $carritopersonalizado?> </td>
</tr>
</table>

<?php }?>
<?php if ($buscador>0){?>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="186"> <span class="Estilo11"> <?php
$result=mysql_query('SELECT producto,descripcion FROM productos WHERE id="'.$p36.'"',$link);
$riw = mysql_fetch_array($result);
?>
<?php echo $riw['producto']?></td>
<td> <span class="Estilo11"><?php echo utf8_encode ($riw['descripcion']);?></span></td>
<td width="262" align="center" class="Estilo11"><?php echo $buscador?> </td>
</tr>
</table>

<?php }?>
<?php if ($blog>0){?>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="186"> <span class="Estilo11"><?php
$result=mysql_query('SELECT producto,descripcion FROM productos WHERE id="'.$p35.'"',$link);
$riw = mysql_fetch_array($result);
?>

<?php echo $riw['producto']?></td>
<td> <span class="Estilo11"><?php echo utf8_encode ($riw['descripcion']);?></span></td>
<td width="262" align="center" class="Estilo11"><?php echo $blog?> </td>
</tr>
</table>

<?php }?>
<?php if ($chat>0){?>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="186"> <span class="Estilo11"> <?php
$result=mysql_query('SELECT producto,descripcion FROM productos WHERE id="'.$p20.'"',$link);
$riw = mysql_fetch_array($result);
?>

<?php echo $riw['producto']?></td>
<td> <span class="Estilo11"><?php echo utf8_encode ($riw['descripcion']);?></span></td>
<td width="262" align="center" class="Estilo11"><?php echo $chat?> </td>
</tr>
</table>

<?php }?>
<?php if ($versionmoviles>0){?>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="186"> <span class="Estilo11"> <?php
$result=mysql_query('SELECT producto,descripcion FROM productos WHERE id="'.$p37.'"',$link);
$riw = mysql_fetch_array($result);
?>

<?php echo $riw['producto']?></td>
<td> <span class="Estilo11"><?php echo utf8_encode ($riw['descripcion']);?></span></td>
<td width="262" align="center" class="Estilo11"><?php echo $versionmoviles?> </td>
</tr>
</table>

<?php }?>
<?php if ($hosting>0){?>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="186"> <span class="Estilo11"><?php
$result=mysql_query('SELECT producto,descripcion FROM productos WHERE id="'.$p33.'"',$link);
$riw = mysql_fetch_array($result);
?>

<?php echo $riw['producto']?></td>
<td> <span class="Estilo11"><?php echo utf8_encode ($riw['descripcion']);?></span></td>
<td width="262" align="center" class="Estilo11"><?php echo $hosting?> </td>
</tr>
</table>

<?php }?>
<?php if ($hostingadmin>0){?>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="186"><span class="Estilo11"><?php
$result=mysql_query('SELECT producto,descripcion FROM productos WHERE id="'.$p34.'"',$link);
$riw = mysql_fetch_array($result);
?>

<?php echo $riw['producto']?></td>
<td> <span class="Estilo11"><?php echo utf8_encode ($riw['descripcion']);?></span></td>
<td width="262" align="center" class="Estilo11"><?php echo $hostingadmin?> </td>
</tr>
</table>

<?php }?>