There are quite a lot of problems with that script. To start off
All those if conditions will be true. Remember that = is assignment, and == is comparison. You need to fix your if conditions.
Also, the entire script assumes that register_globals is on (and its set to OFF on most PHP installs). You need to replace your variables that are coming in from the form with $_POST['nameofvariable'] -- so $monitor becomes $monitor = $_POST['monitor'];
There is no variable $quantity -- because register globals is off. You need $_POST['quantity'].
Your <form> tag is missing the action attribute.
Add error_reporting(E_ALL); as the first php line.
Start over with the above hints.