PHP with mysql
Go to solution
Solved by Tacticalgoose,
@Thermosman PHP isn't too picky about spacing.
Does this work?
if(isset($_POST['Name']) && $_POST['VAT'] == "1" || $_POST['VAT'] == "0" && isset($_POST['TR']) && isset($_POST['BK'])) { ....
also is $_POST['VAT'] a checkbox? cause they also have value in the POST if they are check off. I would recommend have a Value="checkbox" or something on the html part of it. and then check like this $_POST['VAT'] === "checkbox" in the IF.
I am by no means and expert but I think that might work better.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now