hi
im doing an html project for college and im having a bit of trouble adding a sumed total to a php file....
[code=php]
<?php
echo " Surname ". $_POST["lastname"].
"<br><br/>";
echo " First name ". $_POST["firstname"].
"<br><br/>";
echo " Address ". $_POST["address"].
"<br><br/>";
echo " City/Town ". $_POST["city"].
"<br><br/>";
echo " County ". $_POST["county"].
"<br><br/>";
echo " Country ". $_POST["country"].
"<br><br/>";
echo " Email address ". $_POST["email"].
"<br><br/>";
echo " Subtotal". $_POST["excvat"].
"<br><br/>";
echo " Total ". $_POST["incvat"].
"<br><br/>";
?>
[/code]
I think im gone wrong somewhere here.. Everything is working grand except for the sub-total and total..
im doing an html project for college and im having a bit of trouble adding a sumed total to a php file....
[code=php]
<?php
echo " Surname ". $_POST["lastname"].
"<br><br/>";
echo " First name ". $_POST["firstname"].
"<br><br/>";
echo " Address ". $_POST["address"].
"<br><br/>";
echo " City/Town ". $_POST["city"].
"<br><br/>";
echo " County ". $_POST["county"].
"<br><br/>";
echo " Country ". $_POST["country"].
"<br><br/>";
echo " Email address ". $_POST["email"].
"<br><br/>";
echo " Subtotal". $_POST["excvat"].
"<br><br/>";
echo " Total ". $_POST["incvat"].
"<br><br/>";
?>
[/code]
I think im gone wrong somewhere here.. Everything is working grand except for the sub-total and total..
Comment