How would you make a if statement that echo’s if a variable has a value in it and if it has no value in it, it does not echo anything.I know you would use else if there wasn’t a value and I know how to make if statements but I don’t know how I would use one to determine if a value is present or not.
Like
if($additional == ' '){}
else{echo 'Additional information:', $additional;}
But even if you don`t put else nothing will be output since your condition state that you should echoed that variable if it has a value …….