Here is what I have at the moment for my select statement:
$sql17="SELECT SUM(TotalProfit)-('$sum14','$sum13') AS TotalProfit FROM jwtdriversbank2";
I can subtract one variable like this with no problem:
$sql17="SELECT SUM(TotalProfit)-'$sum14' AS TotalProfit FROM jwtdriversbank2";
But I want to be able to subtract several variables, how can I do that????