I am going to make a script where I can add and subtract an amount from the
database... Lets say 'james' have '2000'. And I want to add '500'...
What is the code to add and subtract 2 variables?
I also want to have 2 radio buttons, Add or Subtract.. Then:
$new_amount ($amount + $_POST['new_amount'])
$new_amount ($amount - $_POST['new_amount'])
$sql = mysql_query("INSERT INTO amount VALUE $new_amount") or die
I know this wount work, but I just wanted you to know almost how I mean.. =P
Can someone please help me?