Ver Mensaje Individual
  #9 (permalink)  
Antiguo 23/09/2011, 10:15
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 if ($ancla>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="'.$p4.'"',$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 $ancla?> </td>
</tr>
</table>

<?php }?>
<?php if ($sonido>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="'.$p38.'"',$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 $sonido?> </td>
</tr>
</table>

<?php }?>
<?php if ($bannersimple>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="'.$p6.'"',$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 $bannersimple?> </td>
</tr>
</table>

<?php }?>
<?php if ($bannerdinamico>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="'.$p7.'"',$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 $bannerdinamico?> </td>
</tr>
</table>

<?php }?>

<?php if ($bannerinteractivo>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="'.$p8.'"',$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 $bannerinteractivo?> </td>
</tr>
</table>

<?php }?>

<?php if ($banner3d>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="'.$p9.'"',$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 $banner3d?> </td>
</tr>
</table>

<?php }?>
<?php if ($formulario>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="'.$p31.'"',$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 $formulario?> </td>
</tr>
</table>

<?php }?>
<?php if ($formularioespacios>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="'.$p32.'"',$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 $formularioespacios?> </td>
</tr>
</table>

<?php }?>
<?php if ($introbasico>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="'.$p10.'"',$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 $introbasico?> </td>
</tr>
</table>

<?php }?>
<?php if ($intro3d>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="'.$p11.'"',$link);
$riw = mysql_fetch_array($result);
?>