sorry, I have silly question because I'm still beginner in php programming and sorry for my bad English
my question is:
for example,I have an HTML form
<html> <body> <form method="post" action="x.php"> <h3> variable1 </h3> <input type="checkbox" name="cc" value ="on" /> <h3> variable2 </h3> <input type="checkbox" name="cc" value ="on" /> <BR /> <input type="submit" value="send" /> </form> </body> </html>
and i want to add a values to variable 1 and 2 (numbers) that will be calculated on the php code (x.php)
for example when you check on variable1 and variable2 and then depress send, the result should be a calculation of these variables
how i can do that on the php code?
i hope you understand me