if ($checkid) { echo "Your vote already counted !"; } else { $sakib = $user->votnazrul(); $votoke = $user->votpayidforcouncillor($uid, $uname); if ($sakib) { echo "Thanks for your vote!"; } } } if (isset($_POST['saidur'])) { $checkid = $user->idcheckforcouncillor($uid); if ($checkid) { echo "Your vote already counted !"; } else { $sakib = $user->votsaidur(); $votoke = $user->votpayidforcouncillor($uid, $uname); if ($sakib) { echo "Thanks for your vote!"; } } } if (isset($_POST['mamun'])) { $checkid = $user->idcheckforcouncillor($uid); if ($checkid) { echo "Your vote already counted !"; } else { $sakib = $user->votmamun(); $votoke = $user->votpayidforcouncillor($uid, $uname); if ($sakib) { echo "Thanks for your vote!";