hola chicos, miren tengo un codigo creado en javascrip ( lo vi por aqui ) quw funciona a las mil maravillas , me hace las cuentas de todo lo que se marca , es bastante completo porque con ese script no necesito crear base de datos, a la cual no tengo forma de conectar, el problema es el siguiente , me gustaria pasar esos datos a otro formulario que contiene el nombre , direccion , etc... , y que al mandar el correo me llegue esos datos mas el pedido , me gustaria hacerlo en javascript , o php , os pongo el codigo a ver si con una primera ayuda logro terminarlo, esto que estoy haciendo es para una amiga, gracias
CODIGO FORMULARIO Y SCRIP QUE EJECUTA LAS FUNCIONES DE PEDIDO
Código HTML:
Ver original<!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"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> body {
background-image:url(imagenes/fondo.gif);
}
.abc {
font-family: "Blackadder ITC";
}
<marquee class="abc"><font color="#FFFFFF" size="+4">Bienvenidos a la huerta en casa haga su presupuesto sin compromiso</font></marquee>
<table width="836" cellspacing="0" align="center" cellpadding="0"> <th width="399" height="329" scope="col"><table width="378" height="140" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff" > <th width="131" height="140" scope="col"><img src="imagenes/tomate rosa1.JPG" width="131" height="140" />
<th width="247" scope="col"> <font color="#000000">Tomate Rosa
<br /><br /> Tomate de exquisito
<br /> sabor y color de piel fina y dulce
<br /><br /> Precio por kilo : 1,95
</font></th> </table><hr /><table width="379" height="120" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff"> <th width="131" height="131" scope="col"><img src="imagenes/tomate pera.jpg" width="131" height="140" />
<th width="248" scope="col"> <font color="#000000">Tomate Rosa
<br /><br /> Tomate de exquisito
<br /> sabor y color de piel fina y dulce
<br /><br /> Precio por kilo : 1,95
</font></th> <th width="431" scope="col"><table width="379" height="140" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff"> <th width="131" height="131" scope="col"><img src="imagenes/tomate ensalada.jpg" width="131" height="140" />
<th width="248" scope="col"> <font color="#000000">Tomate Ensalada
<br /><br /> Tomate de exquisito
<br /> sabor y color de piel fina y dulce
<br /><br /> Precio por kilo : 1,95
</font></th> </table><hr /><table width="379" height="120" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff"> <th width="131" height="131" scope="col"><img src="imagenes/tomate cherry.jpg" width="131" height="140" />
<th width="248" scope="col"> <font color="#000000">Tomate Cherry
<br /><br /> Tomate de exquisito
<br /> sabor y color de piel fina y dulce
<br /><br /> Precio por kilo : 1,95
</font></th><table width="845" height="165" cellspacing="0" align="center" cellpadding="0"> <th width="843" height="163" scope="col"><p><font color="#FFFFFF">Le ofrecemos la posibiliada de crear un presupuesto personal y sin compromiso , el coste de envio esta fijado en 0,95 e
</font><br /><br />
<input type=checkbox name=revista1 value=1.95> <font color="#FFFFFF">Tomate rosa:
</font> |
<font color="#FFFFFF">Cantidad:
</font> <input type=text name=c_revista1 size=2> <font color="#FFFFFF">Precio por kg : 1.95
</font> <input type=checkbox name=revista2 value=1.95> <font color="#FFFFFF">Tomate Pera:
</font>|
<font color="#FFFFFF">Cantidad:
</font> <input type=text name=c_revista2 size=2> <font color="#FFFFFF">Precio por kg : 1.95
</font><br /><br /> <input type=checkbox name=revista3 value=1.95><font color="#FFFFFF">Tomate Ensalada:
</font> |
<font color="#FFFFFF">Cantidad:
</font> <input type=text name=c_revista3 size=2> <font color="#FFFFFF">Precio por kg : 1.95
</font> <input type=checkbox name=revista4 value=1.95> <font color="#FFFFFF">Tomate Cherry:
</font>|
<font color="#FFFFFF">Cantidad:
</font> <input type=text name=c_revista4 size=2> <font color="#FFFFFF"> Precio por kg : 1.95
</font> <br /><br /> <font color="#FFFFFF">PRECIO TOTAL
</font> <input type=total name=total value="" size="2"> <input type=button value=Calcular onClick="calcular(this.form)"> <input type="reset" value="Borrar datos">