Hi there EmmaH,
As you are using the <form method="post"> approach, your form is missing a vital ingredient; The submit button, ie:-
<input type="submit" name="submit" value="add up!">
Once you have that placed in the code you can then see what you are posting. First thing as you will need to do is something like this:-
//This snippet goes into the receiving file that you
//specified in the action attribute (servies.php) so that
//the data is sent to the correct place :)
<?php
//Check to see if the form is submitted
if(isset($_POST['submit']) && ($_POST['submit'] == "add up!")){
//What ever is sent from form print to screen..
echo "<pre>";
print_r($_POST);
echo "</pre>";
}
?>
From that you can see what elements are set, then from that you can work out the rest.
Hope that helps you out ;)
Cheers,
MRb
[edited by: Matthew1980 at 7:12 pm (utc) on May 26, 2010]