Problem with initializing variables
I am trying to execute the script found at www.dvdtraffic.com/order2.php
Whenever I bring up the page the variables $Price_1 and $Price_2 are initialised with html text and a large warning message appears indicating that the variables are undefined.
If I enter numbers into the fields and then click on the large warning text (meant to be a calculate button), the script executes ok.
I am not sure why the variables have rubbish in them or how I should initialise them.
Because your script will calculate the 2 variables while they are blank: blank + blank = BIG ERROR
So, in your script you have to define the variables $Price_1 and $Price_2 as for example:
Before outputing your page.
That what I think is solving your problem.
The message is harmless.
In your php.ini file you will have an error reporting section. Check that this line is uncommented and the others are commented out.
error_reporting = E_ALL & ~E_NOTICE