Home php code that adds a number to the current number or do nothing at it
 My question is very simple i'm programming some sort of an earning site and what i want to add to my php is: when the user type the captcha wrong , number of user coins doesn't increase or decrease but when he types it right , it increases by 100 but the problem i faced is that however the user types it right it doesn't increase after the first time i mean it doesn't go to 200 or more .. and when he types it wrong it turns back into 0 again note: i'm using solve media for the captcha service this is my code $current n = 0; if (!$solvemedia_response->is_valid) { print "
Captcha wrong try again!: ".$solvemedia_response->error." ";$currentn +=0; echo $currentn; }else { print " 100 satoshis have been earned successfuly ";$currentn +=100; echo \$currentn; }