Como consejo si quieres para que se vea mejor, ponle en tablas, para que no se vaya muy abajo tu formulario y tenes que estas bajando con la barra horizontal
Te dejo un ejemplo: Código HTML:
<html>
<head>
<title> Menú </title>
</head>
<body bgcolor="BLACK">
<form action="facturar_pagina_con_check.php"
method="post">
<table>
<tr>
<td>
<FONT COLOR="white"> *** MENU DESAYUNOS *** </font>
<FONT COLOR="white"> *** PLATILLOS *** </font>
</td>
</tr>
<tr>
<td>
<Input type="Checkbox" name="check1" value="30">
<FONT COLOR="BLUE">Tipicos Q.30.00</FONT>
</td>
<td>
<Input type="Checkbox" name="check2" value="25">
<FONT COLOR="BLUE">Desayuno Ranchero Q.25.00</FONT>
</td>
<td>
<Input type="Checkbox"name "check3" value="20">
<FONT COLOR="BLUE">Desayuno Arabe Q.20.00</font>
</td>
</tr>
<tr>
<td>
<input type="submit" name="enviar">
</td>
</tr>
</table>
</form>
</body>
</html>
Y ahora para tu otra duda, para sumar los check debes darle valores como el siguiente ejemplo:
Código HTML:
<Input type="Checkbox"name "check3" value="20">
<FONT COLOR="BLUE">Desayuno Arabe Q.20.00</font>
Una ves que todos tengan sus valores, puedes hacer tu
factura.php
de la siguiente forma
(un ejemplo para que puedas luego guiarte por el) Código PHP:
<?php
$check1 = 0;
$check2 = 0;
if ($_POST['check1'] != 0){$check1 = $_POST['check1'];}
if ($_POST['check2'] != 0){$check2 = $_POST['check2'];}
$suma= $check1 + $check2;
echo
"
check 1 = {$check1}<br/>
check 2 = {$check2}<br/>
<br/>
<b>Suma de Valores =</b> $suma
";
?>
verifica si te sirve, luego puedes darle mas formato y demas.. pero lo que necesitas es eso practicamente.
salu2