Ver Mensaje Individual
  #10 (permalink)  
Antiguo 23/09/2011, 10:16
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 $intro3d?> </td>
</tr>
</table>

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

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

<?php }?>

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

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

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

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

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

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

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

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

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

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

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