Foros del Web » Programando para Internet » PHP »

Como guardar informacion en variable con multiples datos

Estas en el tema de Como guardar informacion en variable con multiples datos en el foro de PHP en Foros del Web. Buenas tardes Estoy haciendo un formulario q esta dentro de un while q toma los datos de una base de datos y tiene un campo ...
  #1 (permalink)  
Antiguo 20/09/2011, 11:29
Avatar de mauricioheat  
Fecha de Ingreso: septiembre-2011
Ubicación: Bogota
Mensajes: 39
Antigüedad: 12 años, 7 meses
Puntos: 0
Pregunta Como guardar informacion en variable con multiples datos

Buenas tardes
Estoy haciendo un formulario q esta dentro de un while q toma los datos de una base de datos y tiene un campo de texto, estoy enviando "hidden" los datos tomados de la base de datos, lo q pasa es q no se como imprimir todos los datos de la bbdd relacionados con lo enviado en el campo de texto del formulario este es el codigo del formulario:
<?php
while($row = mysql_fetch_array($result)) {
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


<tr>
<td bgcolor="#F2F2F2"><strong><?php echo $row['producto'];?></strong></td>
<td colspan="2" bgcolor="#F2F2F2"><span class="Estilo1">&nbsp;</span><?php echo utf8_encode($row['descripcion']);?></td>
<td width="12%" bgcolor="#F2F2F2"><span class="Estilo1">
<input name="cantidad" type="text" id="textfield" size="10" style="background-color: #F7F7F7;"/>


</span> </td>



<td width="6%" bgcolor="#F2F2F2">&nbsp;</td>
</tr>


<tr>
<td colspan="5" height="5" bgcolor="#ffffff"></td>
</tr>
<?php
}
?>
<tr>
<td colspan="5" align="right" bgcolor="#F2F2F2"><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span> <label><br />
<input name="<?php echo $row['id'];?>" type="hidden" style="background-color: #F7F7F7;"/>
<input name="<?php echo $row['producto'];?>" type="hidden" style="background-color: #F7F7F7;"/>
<input name="<?php echo $row['precio'];?>" type="hidden" style="background-color: #F7F7F7;"/>
<input type="submit" name="button" id="button" value="Cotizar"/>
</label></td>
</tr>
</table>
</form>

lo que busco es hacer un echo de los elementos de la bbdd relacionado con el valor enviado en el capmpo de texto "cantidad"
si alguien me puede ayudar se lo agradezco
  #2 (permalink)  
Antiguo 20/09/2011, 12:06
 
Fecha de Ingreso: agosto-2011
Ubicación: DF
Mensajes: 44
Antigüedad: 12 años, 8 meses
Puntos: 10
Respuesta: Como guardar informacion en variable con multiples datos

hola amigo te corregi algunos errores de tu codigo pero no entiendo bien que es lo que quieres

los meta tiene que ir en la cabecera
y fuera del while nopuedes llamar nada de tu consulta de la BD
prueba el codigo y ve si se resuelve tu problema

Código PHP:
Ver original
  1. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  2.  
  3. <?php
  4. while($row = mysql_fetch_array($result)) {
  5. ?>
  6.  
  7.  
  8.  
  9. <tr>
  10. <td bgcolor="#F2F2F2"><strong><?=$row['producto']?></strong></td>
  11. <td colspan="2" bgcolor="#F2F2F2"><span class="Estilo1">&nbsp;</span><? echo utf8_encode($row['descripcion']);?></td>
  12. <td width="12%" bgcolor="#F2F2F2"><span class="Estilo1">
  13. <input name="cantidad" type="text" id="textfield" size="10" style="background-color: #F7F7F7;"/>
  14.  
  15.  
  16. </span> </td>
  17.  
  18.  
  19.  
  20. <td width="6%" bgcolor="#F2F2F2">&nbsp;</td>
  21. </tr>
  22.  
  23.  
  24. <tr>
  25. <td colspan="5" height="5" bgcolor="#ffffff"></td>
  26. </tr>
  27.  
  28. <tr>
  29. <td colspan="5" align="right" bgcolor="#F2F2F2"><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span> <label><br />
  30. <input name="<?=$row['id']?>" type="hidden" style="background-color: #F7F7F7;"/>
  31. <input name="<?=$row['producto']?>" type="hidden" style="background-color: #F7F7F7;"/>
  32. <input name="<?=$row['precio']?>" type="hidden" style="background-color: #F7F7F7;"/>
  33. <input type="submit" name="button" id="button" value="Cotizar"/>
  34. </label></td>
  35. </tr>
  36.  
  37. <?php
  38. }
  39. ?>
  40. </table>
  41. </form>
  #3 (permalink)  
Antiguo 20/09/2011, 14:12
 
Fecha de Ingreso: diciembre-2010
Mensajes: 788
Antigüedad: 13 años, 4 meses
Puntos: 51
Respuesta: Como guardar informacion en variable con multiples datos

Si no ponés el código completo no se puede adivinar el error.
  #4 (permalink)  
Antiguo 23/09/2011, 09:02
Avatar de 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

ok voy revisar la respuesta de jjjericu y a colocar todo el codigo
  #5 (permalink)  
Antiguo 23/09/2011, 10:07
Avatar de 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

este es el codigo completo el nombre del archivo es formulario_cotizacion.php

<?php
session_start();
?>
<?php
if(isset($_SESSION['k_username'])){
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Cotizacion</title>
<style type="text/css">
<!--
.Estilo1 {font-family: "Century Gothic"}
.Estilo2 {color: #FFFFFF}
.Estilo3 {font-family: "Century Gothic"; color: #FFFFFF; }
.Estilo4 {font-size: 24px}
-->
</style>
</head>

<body>
<?php include ('menu.php');?>

<form method="post" enctype="multipart/form-data" class="Estilo1" action="cotizacion.php">
<table width="80%" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="5" align="center" bgcolor="#000000"><span class="Estilo1 Estilo2">
<label></label>
</span><span class="Estilo1">
<label></label>
<span class="Estilo2 Estilo1"><strong><span class="Estilo4">DATOS DEL CLIENTE</span></strong></span></span></td>
</tr>

<tr>
<td width="20%" bgcolor="#000000"><span class="Estilo1 Estilo2">&nbsp;Ciudad</span></td>
<td colspan="2" bgcolor="#000000"><input name="ciudad" type="text" id="ciudad" size="50" style="background-color: #F7F7F7;" /></td>
<td colspan="2" bgcolor="#000000">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#000000"><span class="Estilo1 Estilo2">&nbsp;Empresa</span></td>
<td colspan="2" bgcolor="#000000"><input name="empresa" type="text" id="empresa" size="50" style="background-color: #F7F7F7;" /></td>
<td colspan="2" bgcolor="#000000">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#000000"><span class="Estilo3">&nbsp;NIT</span></td>
<td colspan="2" bgcolor="#000000"><span class="Estilo1">
<input name="nit" type="text" id="textfield3" size="50" style="background-color: #F7F7F7;" />
</span></td>
<td colspan="2" bgcolor="#000000"><span class="Estilo1"></span><span class="Estilo1"></span></td>
</tr>
<tr>
<td bgcolor="#000000"><span class="Estilo3">&nbsp;Cliente</span></td>
<td colspan="2" bgcolor="#000000"><span class="Estilo1">
<input name="cliente" type="text" id="textfield4" size="50" style="background-color: #F7F7F7;" />
</span></td>
<td colspan="2" bgcolor="#000000"><span class="Estilo1"></span><span class="Estilo1"></span></td>
</tr>
<tr>
<td bgcolor="#000000"><span class="Estilo3">&nbsp;Direccion</span></td>
<td colspan="2" bgcolor="#000000"><span class="Estilo1">
<input name="direccion" type="text" id="textfield5" size="50" style="background-color: #F7F7F7;" />
</span></td>
<td colspan="2" bgcolor="#000000"><span class="Estilo1"></span><span class="Estilo1"></span></td>
</tr>
<tr>
<td bgcolor="#000000"><span class="Estilo3">&nbsp;Telefono</span></td>
<td colspan="2" bgcolor="#000000"><span class="Estilo1">
<input name="telefono" type="text" id="textfield6" size="50" style="background-color: #F7F7F7;" />
</span></td>
<td colspan="2" bgcolor="#000000"><span class="Estilo1"></span><span class="Estilo1"></span></td>
</tr>
<tr>
<td bgcolor="#000000"><span class="Estilo3">&nbsp;Celular</span></td>
<td colspan="2" bgcolor="#000000"><input name="celular" type="text" id="textfield7" size="50" style="background-color: #F7F7F7;" /></td>
<td colspan="2" bgcolor="#000000">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#000000"><span class="Estilo3">&nbsp;E-mail</span></td>
<td colspan="2" bgcolor="#000000"><input name="email" type="text" id="textfield8" size="50" style="background-color: #F7F7F7;" /></td>
<td colspan="2" bgcolor="#000000">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#666666"><span class="Estilo1">&nbsp;</span><span class="Estilo3">Comentarios</span></td>
<td colspan="2" bgcolor="#666666"><textarea name="comentario" cols="50" id="textfield2" style="background-color: #F7F7F7;"></textarea></td>
<td colspan="2" bgcolor="#666666">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#F2F2F2">&nbsp;</td>
<td colspan="2" bgcolor="#F2F2F2">&nbsp;</td>
<td colspan="2" bgcolor="#F2F2F2">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#666666">&nbsp;<span class="Estilo3">Adicionales</span></td>
<td width="33%" bgcolor="#F2F2F2"><textarea name="adicionales_descripcion" cols="50" id="comentario" style="background-color: #F7F7F7;"></textarea></td>
<td width="29%" bgcolor="#F2F2F2"><input name="adicionales_precio" type="text" id="textfield9" size="10" style="background-color: #F7F7F7;" /></td>
<td colspan="2" bgcolor="#F2F2F2"><input name="adicionales" type="text" id="textfield" size="10" style="background-color: #F7F7F7;" /></td>
</tr>

<tr>
<td colspan="5" align="center" bgcolor="#000000"><strong><span class="Estilo4"><span class="Estilo2">ELEMENTOS</span><BR >
</span></strong></td>
</tr>


<?php

include("conex.php");

$link=conectarse();

$result=mysql_query("select * from productos ORDER BY orden ASC ",$link);

?>

<?php
while($row = mysql_fetch_array($result)) {
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


<tr>
<td bgcolor="#F2F2F2"><strong><?php echo $row['producto'];?></strong></td>
<td colspan="2" bgcolor="#F2F2F2"><span class="Estilo1">&nbsp;</span><?php echo utf8_encode($row['descripcion']);?></td>
<td width="12%" bgcolor="#F2F2F2"><span class="Estilo1">
<input name="<?php echo $row['variable'];?>" type="text" id="textfield" size="10" style="background-color: #F7F7F7;"/>


</span> </td>



<td width="6%" bgcolor="#F2F2F2">&nbsp;</td>
</tr>


<tr>
<td colspan="5" height="5" bgcolor="#ffffff"></td>
</tr>
<?php
}
?>
<tr>
<td colspan="5" align="right" bgcolor="#F2F2F2"><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span><span class="Estilo1"></span> <label><br />
<input name="<?php echo $row['id'];?>" type="hidden" style="background-color: #F7F7F7;"/>
<input name="<?php echo $row['producto'];?>" type="hidden" style="background-color: #F7F7F7;"/>
<input name="<?php echo $row['precio'];?>" type="hidden" style="background-color: #F7F7F7;"/>
<input type="submit" name="button" id="button" value="Cotizar"/>
</label></td>
</tr>
</table>
</form>
</body>
</html>
<?php
}
?>
  #6 (permalink)  
Antiguo 23/09/2011, 10:09
Avatar de 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

y este es el archivo q recibe la informacion

se llama cotizacion.php

<?php
session_start();
?>

<?php
if(isset($_SESSION['k_username'])){
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>WASABI DESIGN</title>
<style type="text/css">
<!--
.Estilo7 {font-size: 14px; font-family: Arial, Helvetica, sans-serif; font-weight: bold; }
.Estilo10 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
.Estilo11 {font-family: Arial, Helvetica, sans-serif}
.Estilo14 {font-size: 12px}
.Estilo16 {
font-family: Arial, Helvetica, sans-serif;
font-size: 24px;
font-weight: bold;
color: #FFFFFF;
}
.Estilo18 {font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; }
.Estilo19 {font-size: 14px}
.Estilo21 {
font-family: Arial, Helvetica, sans-serif;
color: #000000;
font-weight: bold;
}
.style1 {font-family: Arial, Helvetica, sans-serif; font-size: 14px; }
-->
</style>
</head>

<body>


<?php
include("conex.php");
$link=conectarse();

$id= $_POST['id'];
$ciudad= $_POST['ciudad'];
$empresa= $_POST['empresa'];
$nit= $_POST['nit'];
$cliente= $_POST['cliente'];
$direccion= $_POST['direccion'];
$telefono= $_POST['telefono'];
$celular= $_POST['celular'];
$email= $_POST['email'];
$menubasico= $_POST['menubasico'];
$menuanimado2d= $_POST['menuanimado2d'];
$menuanimado3d= $_POST['menuanimado3d'];
$menulink= $_POST['menulink'];
$ancla= $_POST['ancla'];
$sonido= $_POST['sonido'];
$bannersimple= $_POST['bannersimple'];
$bannerdinamico= $_POST['bannerdinamico'];
$bannerinteractivo= $_POST['bannerinteractivo'];
$banner3d= $_POST['banner3d'];
$formulario= $_POST['formulario'];
$formularioespacios= $_POST['formularioespacios'];
$introbasico= $_POST['introbasico'];
$intro3d= $_POST['intro3d'];
$galeriabasica= $_POST['galeriabasica'];
$galeriatransicion= $_POST['galeriatransicion'];
$galeriainteraccion= $_POST['galeriainteraccion'];
$galeriatransicion_e_interaccion= $_POST['galeriatransicion_e_interaccion'];
$imagenes= $_POST['imagenes'];
$galeriaadicional= $_POST['galeriaadicional'];
$transicion2d= $_POST['transicion2d'];
$transicion3d= $_POST['transicion3d'];
$zonas5= $_POST['zonas5'];
$zonas10= $_POST['zonas10'];
$zonas15= $_POST['zonas15'];
$zonas20= $_POST['zonas20'];
$zonas25= $_POST['zonas25'];
$ventanas= $_POST['ventanas'];
$carga_descarga_borrar= $_POST['carga_descarga_borrar'];
$analisis_bbdd= $_POST['analisis_bbdd'];
$acceso= $_POST['acceso'];
$carritobasico= $_POST['carritobasico'];
$carritopersonalizado= $_POST['carritopersonalizado'];
$buscador= $_POST['buscador'];
$blog= $_POST['blog'];
$chat= $_POST['chat'];
$versionmoviles= $_POST['versionmoviles'];
$hosting= $_POST['hosting'];
$hostingadmin= $_POST['hostingadmin'];

//cambios
$comentario= $_POST['comentario'];
$adicionales= $_POST['adicionales'];
$adicionales_precio= $_POST['adicionales_precio'];
$adicionales_descripcion= $_POST['adicionales_descripcion'];


$fecha=date("d-m-Y");



$subtotal= $menubasico*390 + $menuanimado2d*434 + $menuanimado3d*481 + $menulink *220 + $ancla *220 + $sonido *140 + $bannersimple*998 + $bannerdinamico*134 + $bannerinteractivo*154 + $banner3d*172 + $formulario*550 + $formularioespacios*150 + $introbasico*108 +$intro3d*160 + $galeriabasica*123 + $galeriatransicion*135 + $galeriainteraccion*135 + $galeriatransicion_e_interaccion*156 + $imagenes*530 + $galeriaadicional*678 + $transicion2d*514500 + $transicion3d*786500 + $zonas5*73500 + $zonas10*136500 + $zonas15*199500 + $zonas20*262500 + $zonas25*325500 + $ventanas*525 + $carga_descarga_borrar*126 + $analisis_bbdd*200 + $acceso*700 + $carritobasico*514 + $carritopersonalizado*830 + $buscador*230 + $blog*590+ $chat*490 + $versionmoviles*690 + $hosting*280 + $hostingadmin*350+ $adicionales*$adicionales_precio;

$iva=$subtotal*0.16;
$total=$iva+$subtotal;

?>

<table width="800" border="1" align="center" cellspacing="0" bordercolor="#000000">
<tr>
<td colspan="5" valign="top"><IMG SRC="logo1.png" width="320" ALIGN="LEFT"><IMG SRC="logo2.png" width="150" ALIGN="right">&nbsp;</td>
</tr>

<tr>
<td colspan="5" align="center" bgcolor="#333333"><span class="Estilo16">Cotización</span></td>
</tr>
<tr>
<td><span class="Estilo11"><span class="Estilo14">Dia-mes-año</span> <br />
<?php echo $fecha; ?> </span></td>
<td colspan="4" align="right"><span class="Estilo11">No &nbsp;<?php echo roe; ?></span></td>
</tr>

<tr>
<td width="94" height="25"><span class="Estilo7">Ciudad:</span></td>
<td width="270">
<span class="Estilo7"><?php echo $ciudad; ?></span> </td>
<td colspan="2"><span class="Estilo7">Telefono:</span></td>
<td width="304"><span class="Estilo7"><?php echo $telefono; ?></span> </td>
</tr>
<tr>
<td><span class="Estilo7">Empresa: </span></td>
<td width="270"><span class="Estilo7"><?php echo $empresa; ?></span> </td>
<td colspan="2"><span class="Estilo7">Direccion:</span></td>
<td><span class="Estilo7"><?php echo $direccion; ?></span> </td>
</tr>
<tr>
<td><span class="Estilo7">Cliente:</span></td>
<td width="270"><span class="Estilo7"><?php echo $cliente; ?></span> </td>
<td colspan="2"><span class="Estilo7">E mail:</span></td>
<td><span class="Estilo7"><?php echo $email; ?></span> </td>
</tr>
<tr>
<td><span class="Estilo7">NIT/CC:</span></td>
<td width="270"><span class="Estilo7"><?php echo $nit; ?></span> </td>
<td colspan="2"><span class="Estilo7">Celular:</span></td>
<td><span class="Estilo7"><?php echo $celular; ?></span> </td>
</tr>
<tr>
<td height="35" colspan="5" align="center"><span class="Estilo10">Wasabi Design S.A.S. NIT: 900298011-5 <strong>::::</strong> www.design-wasabi.com <strong>::::</strong> Telefono: + 57 (1) 400 6114 <strong>::::</strong> Celular: + 57 301 661 2543</span></td>
</tr>

<tr>
<td height="41"><span class="Estilo11">Comentarios:</span></td>
<td colspan="4"><span class="Estilo11"><?php echo $comentario; ?> </span></td>
</tr>
</table>

<table width="800" border="1" align="center" cellspacing="0" bordercolor="#999999">
<tr>
<td bgcolor="#FFFFFF"><span class="Estilo21">Diseño de pagina web totalmente personalizado con las siguientes caracteristicas:</span></td>
</tr>
</table>
  #7 (permalink)  
Antiguo 23/09/2011, 10:11
Avatar de 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

<table width="802" border="1" align="center" cellspacing="0" bordercolor="#FFFFFF">
<tr>
<td width="187" bgcolor="#333333"><span class="Estilo18">Producto</span></td>
<td width="344" bgcolor="#333333"><span class="Estilo18">Descripcion</span></td>
<td width="263" bgcolor="#333333"><span class="Estilo18">Cantidad</span></td>
</tr>
</table>

<?php
$p1=1;
$p2=2;
$p3=3;
$p4=4;
$p5=5;
$p6=6;
$p7=7;
$p8=8;
$p9=9;
$p10=10;
$p11=11;
$p12=12;
$p13=13;
$p14=14;
$p15=15;
$p16=16;
$p17=17;
$p18=18;
$p19=19;
$p20=20;
$p21=21;
$p22=22;
$p23=23;
$p24=24;
$p25=25;
$p26=26;
$p27=27;
$p28=28;
$p29=29;
$p30=30;
$p31=31;
$p32=32;
$p33=33;
$p34=34;
$p35=35;
$p36=36;
$p37=37;
$p38=38;
$p39=39;
$p40=40;


?>

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

<?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 $menubasico?> </td>
</tr>
</table>

<?php }?>
  #8 (permalink)  
Antiguo 23/09/2011, 10:11
Avatar de 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 }?>
  #9 (permalink)  
Antiguo 23/09/2011, 10:15
Avatar de 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);
?>
  #10 (permalink)  
Antiguo 23/09/2011, 10:16
Avatar de 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);
?>
  #11 (permalink)  
Antiguo 23/09/2011, 10:17
Avatar de 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 }?>
  #12 (permalink)  
Antiguo 23/09/2011, 10:18
Avatar de 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 ($adicionales>0){?>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="186"> <span class="Estilo11">
</td>
<td> <span class="Estilo11"><?php echo utf8_encode ($adicionales_descripcion);?></span></td>
<td width="262" align="center" class="Estilo11"><?php echo $adicionales;?> </td>
</tr>
</table>

<?php }?>



<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td rowspan="3" align="left" bgcolor="#F0F0F0">&nbsp;</td>
<td width="19%" height="21" colspan="-2" align="left" bgcolor="#F0F0F0"><span class="Estilo19 Estilo11 Estilo13"><strong>SUBTOTAL</strong></span></td>
<td width="33%" align="right" bgcolor="#F0F0F0"><span class="Estilo7"> $<?php echo number_format($subtotal); ?> </span></td>
</tr>
<tr>
<td width="19%" height="21" colspan="-2" align="left" bgcolor="#F0F0F0"><span class="Estilo19 Estilo11 Estilo13"><strong>IVA</strong></span></td>
<td width="33%" height="21" align="right" bgcolor="#F0F0F0"><span class="Estilo7">$<?php echo number_format($iva); ?></span></td>
</tr>

<tr>
<td width="19%" height="10" colspan="-2" align="left" bgcolor="#F0F0F0"><span class="Estilo19 Estilo11 Estilo13"><strong>TOTAL</strong></span></td>
<td width="33%" height="10" align="right" bgcolor="#F0F0F0"><span class="Estilo7">$<?php echo number_format($total); ?></span></td>
</tr>
<tr>
<td height="11" colspan="3" align="left" bgcolor="#F0F0F0"><p class="style1">La forma de pago es 50% al inicio del proyecto y 50% a contra entrega.<br />
Por favor enviar copia del recibo de consignación al correo [email protected]</p>
<p class="style1">Datos de la cuenta: <br />
Banco: Davivienda<br />
A nombre de: Wasabi Design S.A.S.<br />
Nit: 90029801-5<br />
Numero de Cuenta: 452900033476<br />
Tipo de Cuenta: Cuenta de Ahorros</p></td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><form>
<INPUT TYPE="button" VALUE="Atrás" onClick="history.back()">
</form></td>


<td align="right">

<form id="form1" name="form1" method="post" action="enviar.php">

<input name="id" type="hidden" id="id" value="<?php echo $id;?>" />
<input name="ciudad" type="hidden" id="ciudad" value="<?php echo $ciudad;?>" />
<input name="empresa" type="hidden" id="empresa" value="<?php echo $empresa;?>" />
<input name="cliente" type="hidden" id="cliente" value="<?php echo $cliente;?>" />
<input name="direccion" type="hidden" id="direccion" value="<?php echo $direccion;?>" />
<input name="telefono" type="hidden" id="telefono" value="<?php echo $telefono;?>" />
<input name="celular" type="hidden" id="celular" value="<?php echo $celular;?>" />
<input name="email" type="hidden" id="email" value="<?php echo $email;?>" />
<input name="nit" type="hidden" id="nit" value="<?php echo $nit;?>" />



<input name="menubasico" type="hidden" id="menubasico" value="<?php echo $menubasico;?>" />
<input name="menuanimado2d" type="hidden" id="menuanimado2d" value="<?php echo $menuanimado2d;?>" />
<input name="menuanimado3d" type="hidden" id="menuanimado3d" value="<?php echo $menuanimado3d;?>" />
<input name="menulink" type="hidden" id="menulink" value="<?php echo $menulink;?>" />
<input name="ancla" type="hidden" id="ancla" value="<?php echo $ancla;?>" />
<input name="sonido" type="hidden" id="sonido" value="<?php echo $sonido;?>" />
<input name="bannersimple" type="hidden" id="bannersimple" value="<?php echo $bannersimple;?>" />
<input name="bannerdinamico" type="hidden" id="bannerdinamico" value="<?php echo $bannerdinamico;?>" />
<input name="bannerinteractivo" type="hidden" id="bannerinteractivo" value="<?php echo $bannerinteractivo;?>" />
<input name="banner3d" type="hidden" id="banner3d" value="<?php echo $banner3d;?>" />
<input name="formulario" type="hidden" id="formulario" value="<?php echo $formulario;?>" />
<input name="formularioespacios" type="hidden" id="formularioespacios" value="<?php echo $formularioespacios;?>" />
<input name="introbasico" type="hidden" id="introbasico" value="<?php echo $introbasico;?>" />
<input name="intro3d" type="hidden" id="intro3d" value="<?php echo $intro3d;?>" />
<input name="galeriabasica" type="hidden" id="galeriabasica" value="<?php echo $galeriabasica;?>" />
<input name="galeriatransicion" type="hidden" id="galeriatransicion" value="<?php echo $galeriatransicion;?>" />
<input name="galeriainteraccion" type="hidden" id="galeriainteraccion" value="<?php echo $galeriainteraccion;?>" />
<input name="galeriatransicion_e_interaccion" type="hidden" id="galeriatransicion_e_interaccion" value="<?php echo $galeriatransicion_e_interaccion;?>" />
<input name="imagenes" type="hidden" id="imagenes" value="<?php echo $imagenes;?>" />
<input name="galeriaadicional" type="hidden" id="galeriaadicional" value="<?php echo $galeriaadicional;?>" />
<input name="transicion2d" type="hidden" id="transicion2d" value="<?php echo $transicion2d;?>" />
<input name="transicion3d" type="hidden" id="transicion3d" value="<?php echo $transicion3d;?>" />
<input name="zonas5" type="hidden" id="zonas5" value="<?php echo $zonas5;?>" />
<input name="zonas10" type="hidden" id="zonas10" value="<?php echo $zonas10;?>" />
<input name="zonas15" type="hidden" id="zonas15" value="<?php echo $zonas15;?>" />
<input name="zonas20" type="hidden" id="zonas20" value="<?php echo $zonas20;?>" />
<input name="zonas25" type="hidden" id="zonas25" value="<?php echo $zonas25;?>" />
<input name="ventanas" type="hidden" id="ventanas" value="<?php echo $ventanas;?>" />
<input name="carga_descarga_borrar" type="hidden" id="carga_descarga_borrar" value="<?php echo $carga_descarga_borrar;?>" />
<input name="analisis_bbdd" type="hidden" id="analisis_bbdd" value="<?php echo $analisis_bbdd;?>" />
<input name="acceso" type="hidden" id="acceso" value="<?php echo $acceso;?>" />
<input name="carritobasico" type="hidden" id="carritobasico" value="<?php echo $carritobasico;?>" />
<input name="carritopersonalizado" type="hidden" id="carritopersonalizado" value="<?php echo $carritopersonalizado;?>" />
<input name="buscador" type="hidden" id="buscador" value="<?php echo $buscador;?>" />
<input name="blog" type="hidden" id="blog" value="<?php echo $blog;?>" />
<input name="chat" type="hidden" id="chat" value="<?php echo $chat;?>" />
<input name="versionmoviles" type="hidden" id="versionmoviles" value="<?php echo $versionmoviles;?>" />
<input name="hosting" type="hidden" id="hosting" value="<?php echo $hosting;?>" />
<input name="hostingadmin" type="hidden" id="hostingadmin" value="<?php echo $hostingadmin;?>" />

<input name="adicionales" type="hidden" id="adicionales" value="<?php echo $adicionales;?>" />
<input name="adicionales_descripcion" type="hidden" id="adicionales_descripcion" value="<?php echo $adicionales_descripcion;?>" />

<input name="comentario" type="hidden" id="comentario" value="<?php echo $comentario;?>" />



<input name="subtotal" type="hidden" id="subtotal" value="<?php echo $subtotal;?>" />
<input name="iva" type="hidden" id="iva" value="<?php echo $iva;?>" />
<input name="total" type="hidden" id="total" value="<?php echo $total;?>" />
<input name="fecha" type="hidden" id="fecha" value="<?php echo $fecha;?>" />




<label>
<input type="submit" name="button" id="button" value="Guardar" />
</label>
</form>



</td>
</tr>
</table>

</body>
</html>
<?php
}
?>
  #13 (permalink)  
Antiguo 23/09/2011, 10:18
Avatar de 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

m mmm mmmm mmmm

Última edición por mauricioheat; 24/01/2012 a las 09:52

Etiquetas: html, informacion, multiples, mysql, variables
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 04:04.