Hi all
I want to redirect to a page based on the results of an if statement.
I have:
<?php
if (empty($vat_number)) {
echo "VAT number is empty"; /redirect to page1.php
} else {
echo "The VAT number is $vat_number"; /redirect to page2.php
}
?>
Does nauone know the best way to do this