Ok. I just did everything you told me to. When I go to load the cart.php page on my local test server I get this error. Apache and Mysql are both running.
"Parse error: syntax error, unexpected '[' in C:\xampp\htdocs\EcologicTechnologies\WA_eCart\EcologicTechnologies_PHP.php on line 10"
This is the code from line ten of EcologicTechnologies_PHP.php which is my cart I believe.
"
$itmObj->TotalPrice = (abs($itmObj->Quantity >= $itmObj->breakALow && $itmObj->Quantity <= $itmObj->breakAHigh)?$itmObj->Price - $itmObj->breakAAmount:0) + (abs($itmObj->Quantity >= $itmObj->breakBLow && $itmObj->Quantity <= $itmObj->breakBHigh)?$itmObj->Price - $itmObj->breakBAmount:0.41) + (abs($itmObj->Quantity >= $itmObj->breakCLow && $itmObj->Quantity <= [breakCHigh])?$itmObj->Price - $itmObj->breakCAmount:0.59) + (abs($itmObj->Quantity >= $itmObj->breakDLow && $itmObj->Quantity <= [breakDHigh])?$itmObj->Price - $itmObj->breakDAmount:0.29) + (abs($itmObj->Quantity >= $itmObj->breakELow && $itmObj->Quantity <= $itmObj->breakEHigh)?$itmObj->Price - $itmObj->breakEAmount:0.20)) * $itmObj->Quantity;//c "
TOTAL PRICE: CALCULATION FORMULA
(abs([Quantity] >= [breakALow] && [Quantity] <= [breakAHigh])?[Price] - [breakAAmount]:0) + (abs([Quantity] >= [breakBLow] && [Quantity] <= [breakBHigh])?[Price] - [breakBAmount]:0) + (abs([Quantity] >= [breakCLow] && [Quantity] <= [breakCHigh])?[Price] - [breakCAmount]:0) + (abs([Quantity] >= [breakDLow] && [Quantity] <= [breakDHigh])?[Price] - [breakDAmount]:0) + (abs([Quantity] >= [breakELow] && [Quantity] <= [breakEHigh])?[Price] - [breakEAmount]:0)) * [Quantity]
REALPRICE: CALCULATION FORMULA
(abs([Quantity] >= [breakALow] && [Quantity] <= [breakAHigh])?[Price] - [breakAAmount]:0) + (abs([Quantity] >= [breakBLow] && [Quantity] <= [breakBHigh])?[Price] - [breakBAmount]:0) + (abs([Quantity] >= [breakCLow] && [Quantity] <= [breakCHigh])?[Price] - [breakCAmount]:0) + (abs([Quantity] >= [breakDLow] && [Quantity] <= [breakDHigh])?[Price] - [breakDAmount]:0) + (abs([Quantity] >= [breakELow] && [Quantity] <= [breakEHigh])?[Price] - [breakEAmount]:0)
Please help!!! Thank you for your fast responses and all of your help!!!


