Ver Mensaje Individual
  #8 (permalink)  
Antiguo 23/09/2011, 10:11
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 ($menuanimado2d>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="'.$p2.'"',$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 $menuanimado2d?> </td>
</tr>
</table>

<?php }?>


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

<?php }?>


<?php if ($menulink>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 $menulink?> </td>
</tr>
</table>

<?php }?>