(!empty($student->former_name) ? print $student->former_name : '');
I only want to print out the former name if it is not empty, nothing else.
I imagine I do not need the else part of it, but I do not know how to do it like that without the else.
I want to shorthand this:
if(!empty($student->former_name))
print $student->former_name;