PHP if statement

if ($money > $taxIncludedPrice) {
echo 'You can buy this item';
} elseif ($money == $taxIncludedPrice) {
echo 'You can buy this item, but you will not have any money left';
} else {
echo 'You cannot buy this item';
}

Leave a Reply