‘; echo ‘‘; if($qry){ $succMsg = “Congratulation!, Pledge has been taken”; } else { $errMsg = “Something Went Wrong”; } } else { $errMsg = “Please Enter the Mandatory Field”; } ?>